MCPcopy Create free account
hub / github.com/nodejs/node-addon-api / InitDate

Function InitDate

test/date.cc:40–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38} // anonymous namespace
39
40Object InitDate(Env env) {
41 Object exports = Object::New(env);
42 exports["CreateDate"] = Function::New(env, CreateDate);
43 exports["CreateDateFromTimePoint"] =
44 Function::New(env, CreateDateFromTimePoint);
45 exports["IsDate"] = Function::New(env, IsDate);
46 exports["ValueOf"] = Function::New(env, ValueOf);
47 exports["OperatorValue"] = Function::New(env, OperatorValue);
48
49 return exports;
50}
51
52#endif

Callers 1

InitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected