[#BloombergLP-bdlb-VariantImp-isUnset] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/VariantImp.adoc[VariantImp]::isUnset :relfileprefix: ../../../ :mrdocs: Return `true` if this variant is currently unset, and `false` otherwise. 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. == Synopsis Declared in `<bdlb_variant.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool isUnset() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#