Address6.isUniqueLocal

Determines whether this address is an Unique Local Address (ULA).

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

Return Value

Type: bool

$(D_KEYWORD true) if this is an Unique Local Address, $(D_KEYWORD false) otherwise.

Examples

assert(address6("fd80:124e:34f3::1").get.isUniqueLocal());

Meta