MCPcopy Create free account
hub / github.com/SOUI2/soui / empty

Method empty

third-part/jsoncpp/src/lib_json/json_value.cpp:958–963  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

956}
957
958bool Value::empty() const {
959 if (isNull() || isArray() || isObject())
960 return size() == 0u;
961 else
962 return false;
963}
964
965Value::operator bool() const { return ! isNull(); }
966

Callers 15

IsDirectoryMethod · 0.45
ParseNaturalNumberFunction · 0.45
FilterMatchesTestMethod · 0.45
AppendUserMessageFunction · 0.45
GTEST_LOCK_EXCLUDED_Function · 0.45
InDeathTestChildFunction · 0.45
file_nameFunction · 0.45
RegisterTestsMethod · 0.45
IsEmptyFunction · 0.45
parseMethod · 0.45

Calls 2

isNullFunction · 0.85
sizeFunction · 0.50

Tested by 14

IsDirectoryMethod · 0.36
ParseNaturalNumberFunction · 0.36
FilterMatchesTestMethod · 0.36
AppendUserMessageFunction · 0.36
GTEST_LOCK_EXCLUDED_Function · 0.36
InDeathTestChildFunction · 0.36
file_nameFunction · 0.36
RegisterTestsMethod · 0.36
IsEmptyFunction · 0.36
failedMethod · 0.36