MCPcopy Create free account
hub / github.com/Netis/cloud-probe / cJSON_IsNull

Function cJSON_IsNull

cpworker/src/cJSON/cJSON.c:2949–2957  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2947 return (item->type & (cJSON_True | cJSON_False)) != 0;
2948}
2949CJSON_PUBLIC(cJSON_bool) cJSON_IsNull(const cJSON * const item)
2950{
2951 if (item == NULL)
2952 {
2953 return false;
2954 }
2955
2956 return (item->type & 0xFF) == cJSON_NULL;
2957}
2958
2959CJSON_PUBLIC(cJSON_bool) cJSON_IsNumber(const cJSON * const item)
2960{

Callers 1

merge_patchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected