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

Function StaticGetter

test/objectwrap.cc:6–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4Napi::ObjectReference testStaticContextRef;
5
6Napi::Value StaticGetter(const Napi::CallbackInfo& /*info*/) {
7 return MaybeUnwrap(testStaticContextRef.Value().Get("value"));
8}
9
10void StaticSetter(const Napi::CallbackInfo& /*info*/,
11 const Napi::Value& value) {

Callers

nothing calls this directly

Calls 3

MaybeUnwrapFunction · 0.85
GetMethod · 0.80
ValueMethod · 0.80

Tested by

no test coverage detected