Type alias IsNumeric<T>

IsNumeric<T>: IfExtends<T, Numeric, true, false>

A numeric type iincludes number and bigint.

Type Parameters

  • T

Returns

true if T is a numeric type, otherwise false.