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

Method getMapRef

valdi_core/src/valdi_core/cpp/Utils/Value.cpp:425–431  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

423}
424
425Ref<ValueMap> Value::getMapRef() const noexcept {
426 if (getType() == ValueType::Map) {
427 return getUnsafeTypedRefPointer<ValueMap>();
428 }
429
430 return nullptr;
431}
432
433Ref<ValueTypedObject> Value::getTypedObjectRef() const noexcept {
434 if (getType() == ValueType::TypedObject) {

Callers 4

toJavaObjectFunction · 0.80
runtimeCreateCSSRuleMethod · 0.80
deserializeTestCasesFunction · 0.80

Calls 1

getTypeFunction · 0.85

Tested by 1

deserializeTestCasesFunction · 0.64