MCPcopy Create free account
hub / github.com/Snapchat/Valdi / getArray

Method getArray

valdi_core/src/valdi_core/cpp/Utils/Value.cpp:345–351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

343}
344
345const ValueArray* Value::getArray() const noexcept {
346 if (getType() == ValueType::Array) {
347 return toPointer<ValueArray>();
348 }
349
350 return nullptr;
351}
352
353const ValueTypedArray* Value::getTypedArray() const noexcept {
354 if (getType() == ValueType::TypedArray) {

Callers 15

operator==Method · 0.45
operator<Method · 0.45
writeValueToJSONWriterFunction · 0.45
unmarshallVectorFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
setTargetListMethod · 0.45
applyMethod · 0.45

Calls 1

getTypeFunction · 0.85

Tested by 6

TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36