Function Address6.isAny

:: can represent any address. This function checks whether this address is ::.

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

Returns

true if this is an unspecified address, false otherwise.

Example

assert(address6("::").get.isAny());