Const
This schema transforms a number into a bigint by parsing the number using the BigInt function.
number
bigint
BigInt
It returns an error if the value can't be safely encoded as a number due to being out of range.
1.0.0
This schema transforms a
number
into abigint
by parsing the number using theBigInt
function.It returns an error if the value can't be safely encoded as a
number
due to being out of range.