Assert that input is a bigint.
input
bigint
assertIsBigInt(10n); // does not throwassertIsBigInt(10); // throws TypeError: input is not a bigint Copy
assertIsBigInt(10n); // does not throwassertIsBigInt(10); // throws TypeError: input is not a bigint
Assert that
inputis abigint.