MCPcopy Create free account
hub / github.com/ComodoSecurity/openedr / empty

Method empty

edrav2/eprj/jsoncpp/src/lib_json/json_value.cpp:943–948  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

941}
942
943bool Value::empty() const {
944 if (isNull() || isArray() || isObject())
945 return size() == 0u;
946 else
947 return false;
948}
949
950Value::operator bool() const { return !isNull(); }
951

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

sizeClass · 0.50

Tested by 3

failedMethod · 0.36
printFailureMethod · 0.36
runAllTestMethod · 0.36