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

Function cJSON_IsArray

cpworker/src/cJSON/cJSON.c:2979–2987  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2977}
2978
2979CJSON_PUBLIC(cJSON_bool) cJSON_IsArray(const cJSON * const item)
2980{
2981 if (item == NULL)
2982 {
2983 return false;
2984 }
2985
2986 return (item->type & 0xFF) == cJSON_Array;
2987}
2988
2989CJSON_PUBLIC(cJSON_bool) cJSON_IsObject(const cJSON * const item)
2990{

Callers 8

parse_task_configFunction · 0.85
parse_tasks_jsonFunction · 0.85
get_item_from_pointerFunction · 0.85
detach_pathFunction · 0.85
apply_patchFunction · 0.85
cJSONUtils_ApplyPatchesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected