Skip to content

assertBitAddressWidth

assertBitAddressWidth(address, bitWidth): void

Defined in: packages/net-address/src/prefix/bit-address.ts:117

Throws unless the address has exactly bitWidth bits.

BitAddress

number

void

RangeError When it does not.