Share via


StringExtensions.Is<TValue>(String) Method

Definition

Checks whether a string can be converted to the specified data type.

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

Type Parameters

TValue

The data type to convert to.

Parameters

value
String

The value to test.

Returns

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

Applies to