[#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&period; An unset variant does not hold a value or type&period; Note that this method should be preferred over checking the type index of the variant&period;

== Synopsis

Declared in `&lt;bdlb&lowbar;variant&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
isUnset() const;
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
