comparison: equal

Synopsis

Declared in <nlohmann/json.hpp>

template<typename ScalarType>
requires std::is_scalar_v<ScalarType>
bool
operator==(ScalarType rhs) const noexcept;

Return Value

true if the objects are equal, false otherwise

Parameters

Name

Description

rhs

The right operand

Created with MrDocs