[#BloombergLP-bsltf-operator_eq-072] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsltf.adoc[bsltf]::operator== :relfileprefix: ../../ :mrdocs: Return `true` if the specified `lhs` and `rhs` unions have the same value, and `false` otherwise. Two `UnionTestType` objects have the same if their `data` attributes are the same. == Synopsis Declared in `<bsltf_uniontesttype.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool operator==( xref:BloombergLP/bsltf/UnionTestType.adoc[UnionTestType] const& lhs, xref:BloombergLP/bsltf/UnionTestType.adoc[UnionTestType] const& rhs); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#