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

Function cJSON_IsArray

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

Source from the content-addressed store, hash-verified

2775}
2776
2777CJSON_PUBLIC(cJSON_bool) cJSON_IsArray(const cJSON * const item)
2778{
2779 if (item == NULL)
2780 {
2781 return false;
2782 }
2783
2784 return (item->type & 0xFF) == cJSON_Array;
2785}
2786
2787CJSON_PUBLIC(cJSON_bool) cJSON_IsObject(const cJSON * const item)
2788{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected