invert
scrypt-ts-opcat / invert
Function: invert()
invert(
a
):Int32
Defined in: packages/scrypt-ts-opcat/src/smart-contract/fns/bitwise.ts:53
Inverts the bits of an Int value. If the input value is 0n, it returns 0n directly.
Parameters
a
The Int value to be inverted.
Returns
The inverted Int value.