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

Method getArrayItem

valdi/src/valdi/runtime/JavaScript/JavaScriptValueDelegate.cpp:704–709  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

702}
703
704JSValueRef JavaScriptValueDelegate::getArrayItem(const PlatformArrayIterator<JSValueRef>& arrayIterator,
705 size_t index,
706 ExceptionTracker& exceptionTracker) {
707 return _jsContext->getObjectPropertyForIndex(
708 arrayIterator.getIterator().get(), index, toJSExceptionTracker(exceptionTracker));
709}
710
711class JSBridgedPromiseCallback final : public PromiseCallback {
712public:

Callers

nothing calls this directly

Calls 2

getMethod · 0.65

Tested by

no test coverage detected