TypeUtilitiesIsNumeric Method

Determines if a type is numeric. Nullable numeric types are considered numeric.

Definition

Namespace: Avalonia.Utilities
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public static bool IsNumeric(
	Type type
)

Parameters

type  Type
 

Return Value

Boolean
True if the type is numeric; otherwise false.

Remarks

Boolean is not considered numeric.

See Also