[#BloombergLP-bdlb-VariantImp-isUnset] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/VariantImp.adoc[VariantImp]::isUnset :relfileprefix: ../../../ :mrdocs: Return whether this variant currently holds no value. == Synopsis Declared in `<bdlb_variant.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool isUnset() const; ---- == Description An unset variant does not hold a value or type. Note that this method should be preferred over checking the type index of the variant. == Return Value `true` if this variant currently holds no value, and `false` otherwise [.small]#Created with https://www.mrdocs.com[MrDocs]#