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

Function toString

valdi/src/valdi/hermes/HermesJavaScriptContext.cpp:805–808  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

803
804 auto symbolId = toSymbolID(propertyName);
805 auto result = hermes::vm::JSObject::hasNamedOrIndexed(
806 hermes::vm::Handle<::hermes::vm::JSObject>::vmcast(hermesValue), *_runtime, symbolId.get());
807
808 if (result.getStatus() == hermes::vm::ExecutionStatus::EXCEPTION) {
809 _runtime->clearThrownValue();
810 return false;
811 }

Callers 15

valueToStringMethod · 0.70
valueToStaticStringMethod · 0.70
toStringBoxMethod · 0.50
toStringMethod · 0.50
flattenMethod · 0.50
toStringBoxMethod · 0.50
toStringMethod · 0.50
toMethod · 0.50
toStringBoxMethod · 0.50
toStringMethod · 0.50
TESTFunction · 0.50
getAccessibilityValueMethod · 0.50

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.40