Address6.isLinkLocal

Determines whether this address is a link-local unicast address.

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

Return Value

Type: bool

$(D_KEYWORD true) if this is a link-local address, $(D_KEYWORD false) otherwise.

Examples

assert(address6("fe80::1").get.isLinkLocal());

Meta