MCPcopy Create free account
hub / github.com/alibaba/CicadaPlayer / hasItem

Method hasItem

framework/utils/CicadaJSON.cpp:190–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188}
189
190bool CicadaJSONItem::hasItem(const std::string &name) const
191{
192 if (nullptr == mJSON) {
193 return false;
194 }
195
196 return cJSON_HasObjectItem(mJSON, name.c_str());
197}
198
199void CicadaJSONItem::deleteItem(const std::string &name)
200{

Callers 3

setupFilterChainsMethod · 0.80
filterNetworkInfoMethod · 0.80

Calls 1

cJSON_HasObjectItemFunction · 0.85

Tested by

no test coverage detected