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

Method asUnretained

valdi/src/valdi/runtime/JavaScript/JavaScriptTypes.hpp:168–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166 }
167
168 JSRef<T> asUnretained() const {
169 return JSRef<T>(_context, _value, false);
170 }
171
172 static JSRef<T> makeRetained(IJavaScriptContext& context, const T& value) {
173 auto ref = JSRef<T>(&context, value, false);

Callers 5

newBoolMethod · 0.80
newNumberMethod · 0.80
newNullMethod · 0.80
newUndefinedMethod · 0.80
newEnumMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected