MCPcopy Create free account
hub / github.com/SVF-tools/SVF / cJSON_IsString

Function cJSON_IsString

svf/lib/Util/cJSON.cpp:2968–2976  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2966}
2967
2968CJSON_PUBLIC(cJSON_bool) cJSON_IsString(const cJSON * const item)
2969{
2970 if (item == NULL)
2971 {
2972 return false;
2973 }
2974
2975 return (item->type & 0xFF) == cJSON_String;
2976}
2977
2978CJSON_PUBLIC(cJSON_bool) cJSON_IsArray(const cJSON * const item)
2979{

Callers 1

cJSON_GetStringValueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected