| 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) |
| 2906 | { |
| 2907 | return false; |
| 2908 | } |
| 2909 | |
| 2910 | return (item->type & 0xFF) == cJSON_NULL; |
| 2911 | } |
| 2912 | |
| 2913 | CJSON_PUBLIC(cJSON_bool) cJSON_IsNumber(const cJSON * const item) |
| 2914 | { |
nothing calls this directly
no outgoing calls
no test coverage detected