[]
        
(Showing Draft Content)

C1.WPF.TypeEx.IsNumeric

IsNumeric Method

IsNumeric(Type)

Returns true if the type is any of the numeric data types: double, float, int, uint, long, ulong, short, ushort, sbyte, byte and decimal.

Declaration
public static bool IsNumeric(this Type type)
Parameters
Type Name Description
Type type

Type.

Returns
Type Description
bool

True if the type is numeric.