bigIntSign
bigIntSign(
value):-1|0|1
Defined in: packages/core/src/big-int/sign.ts:7
Sign of value — the bigint equivalent Math.sign does not accept.
Returns a number rather than a bigint: the result is a three-way flag,
and every consumer of one (comparators, index arithmetic) wants a number.
Parameters
Section titled “Parameters”bigint
Returns
Section titled “Returns”-1 | 0 | 1