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

Function cJSON_IsString

TheForceEngine/TFE_System/cJSON.c:2956–2964  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2954}
2955
2956CJSON_PUBLIC(cJSON_bool) cJSON_IsString(const cJSON * const item)
2957{
2958 if (item == NULL)
2959 {
2960 return false;
2961 }
2962
2963 return (item->type & 0xFF) == cJSON_String;
2964}
2965
2966CJSON_PUBLIC(cJSON_bool) cJSON_IsArray(const cJSON * const item)
2967{

Callers 15

cJSON_GetStringValueFunction · 0.85
parseJSonBoolToOverrideFunction · 0.85
parseJsonStringArrayFunction · 0.85
parseLogicDataFunction · 0.85
tryAssignPropertyFunction · 0.85
parseExternalPickupsFunction · 0.85
tryAssignPickupPropertyFunction · 0.85
parseExternalProjectilesFunction · 0.85
parseExternalEffectsFunction · 0.85
parseExternalWeaponsFunction · 0.85
tryAssignEffectPropertyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected