MCPcopy Create free account
hub / github.com/Illumina/paragraph / get

Method get

external/jsoncpp/jsoncpp.cpp:3562–3565  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3560}
3561
3562Value Value::get(ArrayIndex index, const Value& defaultValue) const {
3563 const Value* value = &((*this)[index]);
3564 return value == &nullSingleton() ? defaultValue : *value;
3565}
3566
3567bool Value::isValidIndex(ArrayIndex index) const { return index < size(); }
3568

Callers

nothing calls this directly

Calls 2

dataMethod · 0.80
lengthMethod · 0.45

Tested by

no test coverage detected