MCPcopy Create free account
hub / github.com/OpenIPC/firmware / cJSON_IsArray

Function cJSON_IsArray

general/package/xmdp/src/cjson/cJSON.c:2933–2941  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2931}
2932
2933CJSON_PUBLIC(cJSON_bool) cJSON_IsArray(const cJSON * const item)
2934{
2935 if (item == NULL)
2936 {
2937 return false;
2938 }
2939
2940 return (item->type & 0xFF) == cJSON_Array;
2941}
2942
2943CJSON_PUBLIC(cJSON_bool) cJSON_IsObject(const cJSON * const item)
2944{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected