classifyIpv4Address
classifyIpv4Address(
address):Ipv4AddressScope
Defined in: packages/net-address/src/ipv4/classify-ipv4.ts:86
Classifies an address against the RFC 6890 special-purpose registry.
Ordered from the narrowest block outwards, because the blocks nest:
255.255.255.255 sits inside 240.0.0.0/4 and must be reported as the
limited broadcast rather than as reserved. O(1).
Parameters
Section titled “Parameters”address
Section titled “address”Returns
Section titled “Returns”Throws
Section titled “Throws”RangeError When the address is not 32 bits wide.