MCPcopy Create free account
hub / github.com/Kitware/CMake / empty

Method empty

Utilities/cmjsoncpp/src/lib_json/json_value.cpp:882–886  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

880}
881
882bool Value::empty() const {
883 if (isNull() || isArray() || isObject())
884 return size() == 0U;
885 return false;
886}
887
888Value::operator bool() const { return !isNull(); }
889

Callers 15

parseMethod · 0.45
readValueMethod · 0.45
readObjectMethod · 0.45
goodMethod · 0.45
validateMethod · 0.45
writeValueMethod · 0.45
writeArrayValueMethod · 0.45
isMultilineArrayMethod · 0.45
writeIndentMethod · 0.45
newStreamWriterMethod · 0.45
validateMethod · 0.45
isConvertibleToMethod · 0.45

Calls 1

isNullFunction · 0.85

Tested by

no test coverage detected