MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / empty

Method empty

Source/JSON/jsoncpp.cpp:3019–3024  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3017}
3018
3019bool Value::empty() const {
3020 if (isNull() || isArray() || isObject())
3021 return size() == 0u;
3022 else
3023 return false;
3024}
3025
3026bool Value::operator!() const { return isNull(); }
3027

Callers 15

GetAngelScriptUpdateMethod · 0.45
GetAngelScriptStatesMethod · 0.45
HasFreeAvatarsMethod · 0.45
GetFreeAvatarIDMethod · 0.45
drawVisualizationMethod · 0.45
VoxellizeMeshFunction · 0.45
SaveMethod · 0.45
GetActiveEventsMethod · 0.45
UpdateMethod · 0.45

Calls 4

isNullFunction · 0.85
isArrayFunction · 0.85
isObjectFunction · 0.85
sizeFunction · 0.50

Tested by

no test coverage detected