coveringBitPrefix
coveringBitPrefix(
prefixes):BitPrefix
Defined in: packages/net-address/src/prefix/aggregate.ts:123
The smallest single prefix covering every input.
Unlike aggregateBitPrefixes this may cover addresses none of the inputs did — that is what makes it a supernet rather than a summary. O(n) in the number of prefixes.
Parameters
Section titled “Parameters”prefixes
Section titled “prefixes”Iterable<BitPrefix>
Returns
Section titled “Returns”Throws
Section titled “Throws”RangeError When the collection is empty or mixes widths.