MCPcopy Create free account
hub / github.com/OpenIPC/firmware / cJSON_IsNull

Function cJSON_IsNull

general/package/xmdp/src/cjson/cJSON.c:2903–2911  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2901 return (item->type & (cJSON_True | cJSON_False)) != 0;
2902}
2903CJSON_PUBLIC(cJSON_bool) cJSON_IsNull(const cJSON * const item)
2904{
2905 if (item == NULL)
2906 {
2907 return false;
2908 }
2909
2910 return (item->type & 0xFF) == cJSON_NULL;
2911}
2912
2913CJSON_PUBLIC(cJSON_bool) cJSON_IsNumber(const cJSON * const item)
2914{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected