MCPcopy Create free account
hub / github.com/antmachineintelligence/mtgbmcode / operator==

Method operator==

python-package/compile/src/io/json11.cpp:303–310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

301 */
302
303bool Json::operator== (const Json &other) const {
304 if (m_ptr == other.m_ptr)
305 return true;
306 if (m_ptr->type() != other.m_ptr->type())
307 return false;
308
309 return m_ptr->equals(other.m_ptr.get());
310}
311
312bool Json::operator< (const Json &other) const {
313 if (m_ptr == other.m_ptr)

Callers

nothing calls this directly

Calls 3

typeMethod · 0.45
equalsMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected