@gala-chain/api ∙ API
API > leastSignificantBit
Function: leastSignificantBit()
leastSignificantBit(
n
):number
Parameters
▪ n: bigint
Returns
index of the least signficant bit in a 256-bit number OR the first bit (0)
Notice
gives the LSB for a number