MCPcopy Create free account
hub / github.com/antmachineintelligence/mtgbmcode / equals

Method equals

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

Source from the content-addressed store, hash-verified

182 double number_value() const override { return m_value; }
183 int int_value() const override { return m_value; }
184 bool equals(const JsonValue * other) const override { return m_value == other->number_value(); }
185 bool less(const JsonValue * other) const override { return m_value < other->number_value(); }
186 public:
187 explicit JsonInt(int value) : Value(value) {}

Callers

nothing calls this directly

Calls 1

number_valueMethod · 0.45

Tested by

no test coverage detected