Type alias IsExactlyBigInt<T>

IsExactlyBigInt<T>: Equals<T, bigint>

Type Parameters

  • T

Returns

true if T is exactly bigint, otherwise false.

Example

 IsBigInt<unknown | bigint>; // false
IsBigInt<symbol | Nullable>; // false
IsBigInt<bigint>; // true