Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node-addon-api
/ OperatorValue
Function
OperatorValue
test/date.cc:31–36 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
29
}
30
31
Value OperatorValue(const CallbackInfo& info) {
32
Date input = info[0].As<Date>();
33
34
return Boolean::New(info.Env(),
35
input.ValueOf() == static_cast<double>(input));
36
}
37
38
} // anonymous namespace
39
Callers
1
test
Function · 0.85
Calls
1
Env
Method · 0.80
Tested by
1
test
Function · 0.68