VariantN.hasValue

bool hasValue() @property const pure nothrow

Returns true if and only if the VariantN object holds a valid value (has been initialized with, or assigned from, a valid value).