[#BloombergLP-baljsn-operator_eq-0df] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::operator== :relfileprefix: ../../ :mrdocs: Return `true` if the specified `lhs` and `rhs` have the same value. == Synopsis Declared in `<baljsn_encoder_testtypes.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool operator==( xref:BloombergLP/baljsn/EncoderTestDegenerateChoice1.adoc[EncoderTestDegenerateChoice1] const& lhs, xref:BloombergLP/baljsn/EncoderTestDegenerateChoice1.adoc[EncoderTestDegenerateChoice1] const& rhs); ---- == Description Return 'true' if the specified 'lhs' and 'rhs' objects have the same value, and 'false' otherwise. Two 'EncoderTestDegenerateChoice1' 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. == Return Value `true` if both objects have the same value, and `false` otherwise == Parameters [cols="1,4"] |=== | Name| Description | *lhs* | left‐hand operand | *rhs* | right‐hand operand |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#