IsNumeric Method
Determines if a type is numeric. Nullable numeric types are considered numeric.
Definition
Namespace: Avalonia.Utilities
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public static bool IsNumeric(
Type type
)
Public Shared Function IsNumeric (
type As Type
) As Boolean
static member IsNumeric :
type : Type -> bool
Parameters
Return Value
Boolean
True if the type is numeric; otherwise false.
Remarks
Boolean is not considered numeric.