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

Method getArrayRef

valdi_core/src/valdi_core/cpp/Utils/Value.cpp:417–423  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

415}
416
417Ref<ValueArray> Value::getArrayRef() const noexcept {
418 if (getType() == ValueType::Array) {
419 return getUnsafeTypedRefPointer<ValueArray>();
420 }
421
422 return nullptr;
423}
424
425Ref<ValueMap> Value::getMapRef() const noexcept {
426 if (getType() == ValueType::Map) {

Callers 15

toJavaObjectFunction · 0.80
setArrayEntryMethod · 0.80
newArrayIteratorMethod · 0.80
getArrayItemMethod · 0.80
TESTFunction · 0.80
callJSFunctionMethod · 0.80
runtimePostMessageMethod · 0.80
onModulesUnloadedMethod · 0.80
handleProfilerStopMethod · 0.80
handleGetPropertiesMethod · 0.80
handlePausedMethod · 0.80

Calls 1

getTypeFunction · 0.85

Tested by 5

setArrayEntryMethod · 0.64
newArrayIteratorMethod · 0.64
getArrayItemMethod · 0.64
TESTFunction · 0.64
deserializeTestCasesFunction · 0.64