TypeUtilitiesIsNumeric Method
Determines if a type is numeric. Nullable numeric types are considered numeric.
Namespace: Avalonia.UtilitiesAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public static bool IsNumeric(
Type type
)
Public Shared Function IsNumeric (
type As Type
) As Boolean
static member IsNumeric :
type : Type -> bool
- type Type
-
Boolean
True if the type is numeric; otherwise false.
Boolean is not considered numeric.