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

Method isMember

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

Source from the content-addressed store, hash-verified

1233#endif
1234
1235bool Value::isMember(char const* key, char const* cend) const
1236{
1237 Value const* value = find(key, cend);
1238 return NULL != value;
1239}
1240bool Value::isMember(char const* key) const
1241{
1242 return isMember(key, key + strlen(key));

Callers 2

readObjectMethod · 0.80
JSONTEST_FIXTUREFunction · 0.80

Calls 4

findFunction · 0.50
dataMethod · 0.45
lengthMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected