Unique.isInitialized

struct Unique(T)
@property const
bool
isInitialized
()

Return Value

Type: bool

Whether this $(D_PSYMBOL Unique) holds some value.

Examples

Unique!int u;
assert(!u.isInitialized);

Meta