Address6.isUnicast

Determines whether this address' destination is a single endpoint.

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

Return Value

Type: bool

$(D_KEYWORD true) if this is a multicast address, $(D_KEYWORD false) otherwise.

Examples

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

See Also

$(D_PSYMBOL isMulticast).

Meta