MCPcopy Create free account
hub / github.com/PlayFab/gsdk / get

Method get

cpp/cppsdk/jsoncpp.cpp:3583–3586  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3581}
3582
3583Value Value::get(ArrayIndex index, const Value& defaultValue) const {
3584 const Value* value = &((*this)[index]);
3585 return value == &nullSingleton() ? defaultValue : *value;
3586}
3587
3588bool Value::isValidIndex(ArrayIndex index) const { return index < size(); }
3589

Calls 2

dataMethod · 0.80
lengthMethod · 0.80