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

Method newUndefined

valdi/src/valdi/runtime/Interfaces/IJavaScriptContext.cpp:106–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104JSValueRef IJavaScriptContext::newNull() {
105 return _nullValue.asUnretained();
106}
107
108JSValueRef IJavaScriptContext::newUndefined() {
109 return _undefinedValue.asUnretained();
110}
111

Callers 15

TEST_PFunction · 0.80
operator()Method · 0.80
doCallMethod · 0.80
operator()Method · 0.80
getFromJSPromiseMethod · 0.80
getParameterMethod · 0.80
throwErrorMethod · 0.80
valdiObjectToJSValueFunction · 0.80
typedObjectToJSValueFunction · 0.80
proxyObjectToJSValueFunction · 0.80
valueToJSValueFunction · 0.80

Calls 1

asUnretainedMethod · 0.80

Tested by 1

TEST_PFunction · 0.64