MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / cJSON_IsNumber

Function cJSON_IsNumber

TheForceEngine/TFE_System/cJSON.c:2946–2954  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2944}
2945
2946CJSON_PUBLIC(cJSON_bool) cJSON_IsNumber(const cJSON * const item)
2947{
2948 if (item == NULL)
2949 {
2950 return false;
2951 }
2952
2953 return (item->type & 0xFF) == cJSON_Number;
2954}
2955
2956CJSON_PUBLIC(cJSON_bool) cJSON_IsString(const cJSON * const item)
2957{

Callers 12

cJSON_GetNumberValueFunction · 0.85
parseJSonIntToOverrideFunction · 0.85
parseJsonFloatToOverrideFunction · 0.85
tryAssignPropertyFunction · 0.85
parseExternalPickupsFunction · 0.85
tryAssignPickupPropertyFunction · 0.85
tryAssignEffectPropertyFunction · 0.85
tryAssignGasmaskPropertyFunction · 0.85
tryAssignWeaponPropertyFunction · 0.85
cJSON_ArrayForEachFunction · 0.85
parseAnimationFrameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected