Function Address.isV6

Determines whether this is an IPv6 address.

bool isV6() pure nothrow @nogc @safe const;

Returns

true if this is an IPv6 address, false otherwise.

Example

assert(Address(Address6.any()).isV6());