Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node-addon-api
/ ValueOf
Function
ValueOf
test/date.cc:25–29 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
23
}
24
25
Value ValueOf(const CallbackInfo& info) {
26
Date input = info[0].As<Date>();
27
28
return Number::New(info.Env(), input.ValueOf());
29
}
30
31
Value OperatorValue(const CallbackInfo& info) {
32
Date input = info[0].As<Date>();
Callers
3
double
Function · 0.85
napi-inl.h
File · 0.85
test
Function · 0.85
Calls
1
Env
Method · 0.80
Tested by
1
test
Function · 0.68