Address4.isUnicast

Determines whether this address' destination is a single endpoint.

struct Address4
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(address4("192.168.0.1").get.isUnicast());

See Also

$(D_PSYMBOL isMulticast).

Meta