StringExtensions.IsInt(String) Method

Definition

Checks whether a string can be converted to an integer.

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

Parameters

value
String

The string value to test.

Returns

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

Applies to