MCPcopy Create free account
hub / github.com/nodejs/node-addon-api / Getter

Function Getter

benchmark/property_descriptor.cc:21–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21static Napi::Value Getter(const Napi::CallbackInfo& info) {
22 return Napi::Number::New(info.Env(), 42);
23}
24
25static void Setter(const Napi::CallbackInfo& info) {
26 (void)info[0];

Callers

nothing calls this directly

Calls 1

EnvMethod · 0.80

Tested by

no test coverage detected