Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node-addon-api
/ IsDate
Function
IsDate
test/date.cc:19–23 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
17
}
18
19
Value IsDate(const CallbackInfo& info) {
20
Date input = info[0].As<Date>();
21
22
return Boolean::New(info.Env(), input.IsDate());
23
}
24
25
Value ValueOf(const CallbackInfo& info) {
26
Date input = info[0].As<Date>();
Callers
2
napi-inl.h
File · 0.85
test
Function · 0.85
Calls
1
Env
Method · 0.80
Tested by
1
test
Function · 0.68