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.
Parameters
Section titled “Parameters”prefixes
Section titled “prefixes”Iterable<BitPrefix>
address
Section titled “address”Returns
Section titled “Returns”boolean