[#nlohmann-basic_json-0c-operator_eq-06] = xref:nlohmann.adoc[nlohmann]::xref:nlohmann/basic_json-0c.adoc[basic_json]::operator== :relfileprefix: ../../ :mrdocs: comparison: equal == Synopsis Declared in `<nlohmann/json.hpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename ScalarType> requires std::is_scalar_v<ScalarType> bool operator==(ScalarType rhs) const noexcept; ---- == Return Value whether this value is equal to _rhs_ == Parameters [cols="1,4"] |=== | Name| Description | *rhs* | scalar value to compare this value to |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#