Share via


Extensions.IsNumber(Object) Method

Definition

Test an object to see if it is a numeric type.

public static bool IsNumber (this object value);
static member IsNumber : obj -> bool
<Extension()>
Public Function IsNumber (value As Object) As Boolean

Parameters

value
Object

Value to check.

Returns

True if numeric type.

Applies to