typeof "bigint" alias.
typeof
isBigInt(1n); // trueisBigInt(1); // false
true if the given value is a bigint, false otherwise.
true
bigint
false
typeof
"bigint" alias.Example
Returns
true
if the given value is abigint
,false
otherwise.