[#BloombergLP-bdlb-VariantImp-is] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/VariantImp.adoc[VariantImp]::is :relfileprefix: ../../../ :mrdocs: Return `true` if the value held by this variant object is of template parameter `TYPE`, and `false` otherwise. `TYPE` must be the same as one of the types that this variant can hold. Note that `TYPE` must be specified explicitly, e.g., `myValue.is<int>()`. == Synopsis Declared in `<bdlb_variant.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> bool is() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#