MCPcopy Create free account
hub / github.com/antirez/botlib / cJSON_IsNumber

Function cJSON_IsNumber

cJSON.c:2927–2935  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2925}
2926
2927CJSON_PUBLIC(cJSON_bool) cJSON_IsNumber(const cJSON * const item)
2928{
2929 if (item == NULL)
2930 {
2931 return false;
2932 }
2933
2934 return (item->type & 0xFF) == cJSON_Number;
2935}
2936
2937CJSON_PUBLIC(cJSON_bool) cJSON_IsString(const cJSON * const item)
2938{

Callers 2

cJSON_GetNumberValueFunction · 0.85
cJSON_SelectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected