MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / cJSON_IsTrue

Function cJSON_IsTrue

TheForceEngine/TFE_System/cJSON.c:2916–2924  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2914}
2915
2916CJSON_PUBLIC(cJSON_bool) cJSON_IsTrue(const cJSON * const item)
2917{
2918 if (item == NULL)
2919 {
2920 return false;
2921 }
2922
2923 return (item->type & 0xff) == cJSON_True;
2924}
2925
2926
2927CJSON_PUBLIC(cJSON_bool) cJSON_IsBool(const cJSON * const item)

Callers 4

parseJSonBoolToOverrideFunction · 0.85
tryAssignPropertyFunction · 0.85
tryAssignPickupPropertyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected