Skip to content

ipv4FromIpv6

ipv4FromIpv6(address): BitAddress | null

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

The IPv4 address an IPv4-mapped or IPv4-compatible literal embeds.

BitAddress

BitAddress | null

null when the address embeds neither.

RangeError When the address is not 128 bits wide.