MCPcopy 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
31Value 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

testFunction · 0.85

Calls 1

EnvMethod · 0.80

Tested by 1

testFunction · 0.68