MCPcopy Index your code
hub / github.com/nodejs/node-addon-api / OwnPropertyGetter

Method OwnPropertyGetter

test/objectwrap.cc:56–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54 }
55
56 static Napi::Value OwnPropertyGetter(const Napi::CallbackInfo& info) {
57 return static_cast<Test*>(info.Data())->Getter(info);
58 }
59
60 static Napi::Value CanUnWrap(const Napi::CallbackInfo& info) {
61 Napi::Object wrappedObject = info[0].As<Napi::Object>();

Callers

nothing calls this directly

Calls 2

DataMethod · 0.80
GetterMethod · 0.45

Tested by

no test coverage detected