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