Click or drag to resize

CommonIsNumericTypeT Method

Determines if T is a numeric type, i.e., has a TypeCode that is one of: Boolean, SByte, Byte, Int16, UInt16, Int32, UInt32, Int64, UInt64Single, Double or Decimal.

Namespace: GSF
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.181-beta
Syntax
public static bool IsNumericType<T>()
View Source

Type Parameters

T
Type to check.

Return Value

Boolean
true if T is a numeric type; otherwise, false.
See Also