comparison: equal
Declared in <nlohmann/json.hpp>
template<typename ScalarType>
requires std::is_scalar_v<ScalarType>
bool
operator==(ScalarType rhs) const noexcept;
whether this value is equal to rhs
| Name | Description |
|---|---|
| rhs | scalar value to compare this value to |