MCPcopy Create free account
hub / github.com/Tencent/Hardcoder / cJSON_IsNull

Function cJSON_IsNull

libapp2sys/src/main/cpp/cjson/cJSON.c:2747–2755  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2745 return (item->type & (cJSON_True | cJSON_False)) != 0;
2746}
2747CJSON_PUBLIC(cJSON_bool) cJSON_IsNull(const cJSON * const item)
2748{
2749 if (item == NULL)
2750 {
2751 return false;
2752 }
2753
2754 return (item->type & 0xFF) == cJSON_NULL;
2755}
2756
2757CJSON_PUBLIC(cJSON_bool) cJSON_IsNumber(const cJSON * const item)
2758{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected