Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
21
static Napi::Value Getter(const Napi::CallbackInfo& info) {
22
return Napi::Number::New(info.Env(), 42);
23
}
24
25
static void Setter(const Napi::CallbackInfo& info) {
26
(void)info[0];
Callers
nothing calls this directly
Calls
1
Env
Method · 0.80
Tested by
no test coverage detected