Function Address6.isUnicast

Determines whether this address' destination is a single endpoint.

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

Returns

true if this is a multicast address, false otherwise.

See Also

isMulticast.

Example

assert(address6("::1").get.isUnicast());