Summary
Determines if a type is numeric. Nullable numeric types are considered numeric.
- Namespace
- Avalonia
.Utilities - Containing Type
- TypeUtilities
Syntax
public static bool IsNumeric(Type type)
Remarks
Boolean is not considered numeric.
Parameters
Name | Type | Description |
---|---|---|
type | Type |
Return Value
Type | Description |
---|---|
bool | True if the type is numeric; otherwise false. |