MCPcopy 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
19Value IsDate(const CallbackInfo& info) {
20 Date input = info[0].As<Date>();
21
22 return Boolean::New(info.Env(), input.IsDate());
23}
24
25Value ValueOf(const CallbackInfo& info) {
26 Date input = info[0].As<Date>();

Callers 2

napi-inl.hFile · 0.85
testFunction · 0.85

Calls 1

EnvMethod · 0.80

Tested by 1

testFunction · 0.68