[#BloombergLP-baljsn-operator_eq-0f8]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::operator&equals;&equals;
:relfileprefix: ../../
:mrdocs:

Return `true` if the specified `lhs` and `rhs` have the same value&period;

== Synopsis

Declared in `&lt;baljsn&lowbar;encoder&lowbar;testtypes&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
operator&equals;&equals;(
    xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories.adoc[EncoderTestChoiceWithAllCategories] const& lhs,
    xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories.adoc[EncoderTestChoiceWithAllCategories] const& rhs);
----

== Description

Return &apos;true&apos; if the specified &apos;lhs&apos; and &apos;rhs&apos; objects have the same value, and &apos;false&apos; otherwise&period; Two &apos;EncoderTestChoiceWithAllCategories&apos; objects have the same value if either the selections in both objects have the same ids and the same values, or both selections are undefined&period;

== Return Value

`true` if both objects have the same value, and `false` otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *lhs*
| left&hyphen;hand operand
| *rhs*
| right&hyphen;hand operand
|===


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