Functions
isStringifiedBigInt
isStringifiedBigInt(
putativeBigInt
):putativeBigInt is StringifiedBigInt
A type guard that returns true
if the input string parses as a BigInt
, and refines its type
for use in your program.
Parameters
Parameter | Type |
---|---|
putativeBigInt | string |
Returns
putativeBigInt is StringifiedBigInt