MCPcopy Create free account
hub / github.com/Illumina/hap.py / get

Method get

external/jsoncpp/jsoncpp.cpp:2491–2494  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2489}
2490
2491Value Value::get(ArrayIndex index, const Value &defaultValue) const {
2492 const Value *value = &((*this)[index]);
2493 return value == &null ? defaultValue : *value;
2494}
2495
2496bool Value::isValidIndex(ArrayIndex index) const { return index < size(); }
2497

Callers

nothing calls this directly

Calls 1

c_strMethod · 0.80

Tested by

no test coverage detected