assertBitAddressWidth
assertBitAddressWidth(
address,bitWidth):void
Defined in: packages/net-address/src/prefix/bit-address.ts:117
Throws unless the address has exactly bitWidth bits.
Parameters
Section titled “Parameters”address
Section titled “address”bitWidth
Section titled “bitWidth”number
Returns
Section titled “Returns”void
Throws
Section titled “Throws”RangeError When it does not.