Address.isAny

Determines whether this is an unspecified address.

struct Address
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(Address(Address4.any).isAny());
assert(Address(Address6.any).isAny());

See Also

$(D_PSYMBOL Address4.isAny), $(D_PSYMBOL Address6.isAny).

Meta