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

Method newBool

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

Source from the content-addressed store, hash-verified

88
89 _exportModePropertyName = JSPropertyNameRef();
90}
91
92JSValueRef IJavaScriptContext::newBool(bool boolean) {
93 return boolean ? _trueValue.asUnretained() : _falseValue.asUnretained();
94}
95

Callers

nothing calls this directly

Calls 1

asUnretainedMethod · 0.80

Tested by

no test coverage detected