MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / cJSON_IsNumber

Function cJSON_IsNumber

external/cJSON/cJSON.c:3022–3030  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3020}
3021
3022CJSON_PUBLIC(cJSON_bool) cJSON_IsNumber(const cJSON * const item)
3023{
3024 if (item == NULL)
3025 {
3026 return false;
3027 }
3028
3029 return (item->type & 0xFF) == cJSON_Number;
3030}
3031
3032CJSON_PUBLIC(cJSON_bool) cJSON_IsString(const cJSON * const item)
3033{

Callers 2

convert_cjsonFunction · 0.85
cJSON_GetNumberValueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected