MCPcopy Create free account
hub / github.com/THUDM/AgentTuning / empty

Method empty

AgentBench.old/src/tasks/card_game/logic/src/jsoncpp/jsoncpp.cpp:3369–3374  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3367}
3368
3369bool Value::empty() const {
3370 if (isNull() || isArray() || isObject())
3371 return size() == 0u;
3372 else
3373 return false;
3374}
3375
3376Value::operator bool() const { return ! isNull(); }
3377

Callers 9

parseMethod · 0.45
readValueMethod · 0.45
readObjectMethod · 0.45
isConvertibleToMethod · 0.45
sizeMethod · 0.45
writeValueMethod · 0.45
writeArrayValueMethod · 0.45
writeIndentMethod · 0.45
newStreamWriterMethod · 0.45

Calls 1

isObjectFunction · 0.85

Tested by

no test coverage detected