Returns true if and only if the VariantN object holds a valid value (has been initialized with, or assigned from, a valid value).
Variant a; assert(!a.hasValue); Variant b; a = b; assert(!a.hasValue); // still no value a = 5; assert(a.hasValue);
See Implementation
Returns true if and only if the VariantN object holds a valid value (has been initialized with, or assigned from, a valid value).