Converts an integer-compatible value to a bigint
The value to convert to a bigint
The bigint representation of the value
intToBigInt(123); // 123nintToBigInt('0xbeef'); // 48879n Copy
intToBigInt(123); // 123nintToBigInt('0xbeef'); // 48879n
Generated using TypeDoc
Converts an integer-compatible value to a bigint