Skip to content

bitPrefixesContain

bitPrefixesContain(prefixes, address): boolean

Defined in: packages/net-address/src/prefix/set-ops.ts:107

Whether any prefix in the collection covers address.

Linear. A routing table queried repeatedly wants a longest-prefix-match structure instead — see this package’s TODO.md.

Iterable<BitPrefix>

BitAddress

boolean