isIpv4SpecialPurpose
isIpv4SpecialPurpose(
address):boolean
Defined in: packages/net-address/src/ipv4/classify-ipv4.ts:189
Whether the address falls in any enumerated special-purpose block.
An SSRF guard wants this after resolving a name, never a string test on the
URL: 0177.0.0.1 and 2130706433 are loopback to a C resolver and are not
substrings of 127..
Parameters
Section titled “Parameters”address
Section titled “address”Returns
Section titled “Returns”boolean