[#nlohmann-basic_json-00-operator_eq-08]
= xref:nlohmann.adoc[nlohmann]::xref:nlohmann/basic_json-00.adoc[basic&lowbar;json]::operator&equals;&equals;
:relfileprefix: ../../
:mrdocs:

comparison&colon; equal

== Synopsis

Declared in `&lt;nlohmann&sol;json&period;hpp&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename ScalarType&gt;
requires std&colon;&colon;is&lowbar;scalar&lowbar;v&lt;ScalarType&gt;
bool
operator&equals;&equals;(ScalarType rhs) const noexcept;
----

== Return Value

`true` if the objects are equal, `false` otherwise

== Parameters

[cols="1,4"]
|===
|Name|Description

| *rhs*
| The right operand
|===


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