true if T is exactly bigint, otherwise false.
true
T
bigint
false
IsBigInt<unknown | bigint>; // false IsBigInt<symbol | Nullable>; // false IsBigInt<bigint>; // true Copy
IsBigInt<unknown | bigint>; // false IsBigInt<symbol | Nullable>; // false IsBigInt<bigint>; // true
Returns
true
ifT
is exactlybigint
, otherwisefalse
.Example