Checks if the given value is an BigInt (opens in a new tab).
Syntax
import { isBigInt } from '@opentf/std';
isBigInt(val: unknown): boolean;
Examples
isBigInt(1) //=> false
isBigInt(1n) //=> true
Checks if the given value is an BigInt (opens in a new tab).
import { isBigInt } from '@opentf/std';
isBigInt(val: unknown): boolean;
isBigInt(1) //=> false
isBigInt(1n) //=> true