| 2975 | } |
| 2976 | |
| 2977 | CJSON_PUBLIC(cJSON_bool) cJSON_IsTrue(const cJSON * const item) |
| 2978 | { |
| 2979 | if (item == NULL) |
| 2980 | { |
| 2981 | return false; |
| 2982 | } |
| 2983 | |
| 2984 | return (item->type & 0xff) == cJSON_True; |
| 2985 | } |
| 2986 | |
| 2987 | |
| 2988 | CJSON_PUBLIC(cJSON_bool) cJSON_IsBool(const cJSON * const item) |
no outgoing calls
searching dependent graphs…