Skip to content

getbit

getbit(data, bitIndex): boolean

Parameters

data: uint64 | BytesLike

bitIndex: uint64

Returns

boolean

The value of the bit at the given index

Source

types/global.d.ts:1073