Skip to content

bitPrefixOverlaps

bitPrefixOverlaps(a, b): boolean

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

Whether the two prefixes share any address. Two prefixes of the same family either nest or are disjoint, so this is “one contains the other”.

BitPrefix

BitPrefix

boolean

RangeError When the widths differ.