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

Method Get

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

Source from the content-addressed store, hash-verified

360
361template <typename T>
362Local<Value> ReturnValue<T>::Get() const {
363 using I = internal::Internals;
364 if (*value_ == *I::GetRoot(GetIsolate(), I::kTheHoleValueRootIndex))
365 return Local<Value>(*Undefined(GetIsolate()));
366 return Local<Value>::New(GetIsolate(), reinterpret_cast<Value*>(value_));
367}
368
369template <typename T>
370template <typename S>

Callers

nothing calls this directly

Calls 2

GetIsolateFunction · 0.85
NewFunction · 0.85

Tested by

no test coverage detected