Function Address6.isLinkLocal

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

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

Returns

true if this is a link-local address, false otherwise.

Example

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