MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / cJSON_IsNull

Function cJSON_IsNull

external/cJSON/cJSON.c:3012–3020  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3010 return (item->type & (cJSON_True | cJSON_False)) != 0;
3011}
3012CJSON_PUBLIC(cJSON_bool) cJSON_IsNull(const cJSON * const item)
3013{
3014 if (item == NULL)
3015 {
3016 return false;
3017 }
3018
3019 return (item->type & 0xFF) == cJSON_NULL;
3020}
3021
3022CJSON_PUBLIC(cJSON_bool) cJSON_IsNumber(const cJSON * const item)
3023{

Callers 1

convert_cjsonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected