Argentini.Halide.H3Identify.IsBoolean C# (CSharp) Method

IsBoolean() public static method

Determines if a string value is a Boolean value or not.
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);
        }