MCPcopy Create free account
hub / github.com/SVF-tools/SVF / cJSON_IsTrue

Function cJSON_IsTrue

svf/lib/Util/cJSON.cpp:2928–2936  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2926}
2927
2928CJSON_PUBLIC(cJSON_bool) cJSON_IsTrue(const cJSON * const item)
2929{
2930 if (item == NULL)
2931 {
2932 return false;
2933 }
2934
2935 return (item->type & 0xff) == cJSON_True;
2936}
2937
2938
2939CJSON_PUBLIC(cJSON_bool) cJSON_IsBool(const cJSON * const item)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected