MCPcopy Create free account
hub / github.com/antirez/botlib / cJSON_IsNull

Function cJSON_IsNull

cJSON.c:2917–2925  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2915 return (item->type & (cJSON_True | cJSON_False)) != 0;
2916}
2917CJSON_PUBLIC(cJSON_bool) cJSON_IsNull(const cJSON * const item)
2918{
2919 if (item == NULL)
2920 {
2921 return false;
2922 }
2923
2924 return (item->type & 0xFF) == cJSON_NULL;
2925}
2926
2927CJSON_PUBLIC(cJSON_bool) cJSON_IsNumber(const cJSON * const item)
2928{

Callers 1

cJSON_SelectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected