MCPcopy Index your code
hub / github.com/nodejs/node-addon-api / TestUint64

Function TestUint64

test/bigint.cc:42–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42Value TestUint64(const CallbackInfo& info) {
43 bool lossless;
44 uint64_t input = info[0].As<BigInt>().Uint64Value(&lossless);
45
46 return BigInt::New(info.Env(), input);
47}
48
49Value TestWords(const CallbackInfo& info) {
50 BigInt big = info[0].As<BigInt>();

Callers 1

testFunction · 0.85

Calls 1

EnvMethod · 0.80

Tested by

no test coverage detected