Function Address.isAny

Determines whether this is an unspecified address.

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

Returns

true if this is an unspecified address, false otherwise.

See Also

Address4.isAny, Address6.isAny.

Example

assert(Address(Address4.any).isAny());
assert(Address(Address6.any).isAny());