public static IsBoolean ( string input ) : System.Boolean | ||
input | string | The string to validate. |
return | System.Boolean |
public static Boolean IsBoolean(string input)
{
Boolean booleanVal;
return Boolean.TryParse(input, out booleanVal);
}