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

Method getValdiObject

valdi_core/src/valdi_core/cpp/Utils/Value.cpp:449–455  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

447}
448
449Ref<ValdiObject> Value::getValdiObject() const noexcept {
450 if (getType() == ValueType::ValdiObject) {
451 return getUnsafeTypedRefPointer<ValdiObject>();
452 }
453
454 return nullptr;
455}
456
457Ref<StaticString> Value::getStaticStringRef() const noexcept {
458 if (getType() == ValueType::StaticString) {

Callers 15

operator==Method · 0.45
operator<Method · 0.45
writeValueToJSONWriterFunction · 0.45
unmarshallBridgeObjectFunction · 0.45
toJavaObjectFunction · 0.45
TEST_PFunction · 0.45
TEST_PMethod · 0.45
nativeGetOpaqueObjectFunction · 0.45
applyMethod · 0.45
setCSSDocumentMethod · 0.45

Calls 1

getTypeFunction · 0.85

Tested by 2

TEST_PFunction · 0.36
TEST_PMethod · 0.36