StringExtensions.IsBool(String) StringExtensions.IsBool(String) StringExtensions.IsBool(String) Method

Definition

Checks whether a string can be converted to the Boolean (true/false) type.

public static bool IsBool (this string value);
static member IsBool : string -> bool
<Extension()>
Public Function IsBool (value As String) As Boolean
Parameters
value
String String String

The string value to test.

Returns

true if value can be converted to the specified type; otherwise, false.

Applies to