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

Function cJSON_IsBool

TheForceEngine/TFE_System/cJSON.c:2927–2935  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 4

parseJSonBoolToOverrideFunction · 0.85
tryAssignPropertyFunction · 0.85
tryAssignPickupPropertyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected