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

Function getJsModulePropertyAsValue

valdi/test/integration/Runtime_tests.cpp:218–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216}
217
218static Result<Value> getJsModulePropertyAsValue(
219 Runtime* runtime,
220 const std::shared_ptr<snap::valdi_core::JSRuntimeNativeObjectsManager>& nativeObjectsManager,
221 std::string_view moduleName,
222 std::string_view propertyName) {
223 return getJsModulePropertyWithSchema(runtime, nativeObjectsManager, nullptr, moduleName, propertyName, "u");
224}
225
226static Result<Ref<ValueFunction>> getJsModulePropertyAsUntypedFunction(
227 Runtime* runtime,

Callers 1

Calls 1

Tested by

no test coverage detected