| 2895 | } |
| 2896 | |
| 2897 | CJSON_PUBLIC(cJSON_bool) cJSON_IsTrue(const cJSON * const item) |
| 2898 | { |
| 2899 | if (item == NULL) |
| 2900 | { |
| 2901 | return false; |
| 2902 | } |
| 2903 | |
| 2904 | return (item->type & 0xff) == cJSON_True; |
| 2905 | } |
| 2906 | |
| 2907 | |
| 2908 | CJSON_PUBLIC(cJSON_bool) cJSON_IsBool(const cJSON * const item) |
nothing calls this directly
no outgoing calls
no test coverage detected