Skip to content

isIpv6Ipv4Compatible

isIpv6Ipv4Compatible(address): boolean

Defined in: packages/net-address/src/ipv6/ipv4-mapped.ts:38

Whether the address is IPv4-compatible — ::a.b.c.d, deprecated by RFC 4291.

:: and ::1 are excluded: both fall in ::/96 numerically but neither embeds an IPv4 address.

BitAddress

boolean

RangeError When the address is not 128 bits wide.