Function cJSON_IsNumber
Synopsis
#include <cJSON.h>
cJSON_bool cJSON_IsNumber(const cJSON *const item)
Description
No description yet.
Mentioned in
- Getting Started / Data Structure
- Getting Started / Parsing
Source
Lines 2927-2935 in cJSON.c. Line 188 in cJSON.h.
CJSON_PUBLIC(cJSON_bool) cJSON_IsNumber(const cJSON * const item)
{
if (item == NULL)
{
return false;
}
return (item->type & 0xFF) == cJSON_Number;
}