| 2881 | } |
| 2882 | |
| 2883 | CJSON_PUBLIC(cJSON_bool) cJSON_IsTrue(const cJSON * const item) |
| 2884 | { |
| 2885 | if (item == NULL) |
| 2886 | { |
| 2887 | return false; |
| 2888 | } |
| 2889 | |
| 2890 | return (item->type & 0xff) == cJSON_True; |
| 2891 | } |
| 2892 | |
| 2893 | |
| 2894 | CJSON_PUBLIC(cJSON_bool) cJSON_IsBool(const cJSON * const item) |
nothing calls this directly
no outgoing calls
no test coverage detected