Address6.isAny

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

struct Address6
const @nogc nothrow pure @safe
bool
isAny
()

Return Value

Type: bool

$(D_KEYWORD true) if this is an unspecified address, $(D_KEYWORD false) otherwise.

Examples

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

Meta