MCPcopy Create free account
hub / github.com/NativeScript/android / SetNull

Method SetNull

test-app/runtime/src/main/cpp/include/v8-function-callback.h:335–339  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

333
334template <typename T>
335void ReturnValue<T>::SetNull() {
336 static_assert(std::is_base_of<T, Primitive>::value, "type check");
337 using I = internal::Internals;
338 *value_ = *I::GetRoot(GetIsolate(), I::kNullValueRootIndex);
339}
340
341template <typename T>
342void ReturnValue<T>::SetUndefined() {

Callers 4

CallJavaMethodMethod · 0.80
NullValueOfCallbackMethod · 0.80
TestMethod · 0.80
ExecMethod · 0.80

Calls 1

GetIsolateFunction · 0.85

Tested by 1

TestMethod · 0.64