Variant.hasValue

Tells whether this $(D_PSYMBOL Variant) is initialized.

struct Variant
const
bool
hasValue
()

Return Value

Type: bool

$(D_KEYWORD true) if this $(D_PSYMBOL Variant) contains a value, $(D_KEYWORD false) otherwise.

Meta