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

Function IsBigInt

test/bigint.cc:27–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27Value IsBigInt(const CallbackInfo& info) {
28 Env env = info.Env();
29
30 BigInt big = info[0].As<BigInt>();
31
32 return Boolean::New(env, big.IsBigInt());
33}
34
35Value TestInt64(const CallbackInfo& info) {
36 bool lossless;

Callers 2

napi-inl.hFile · 0.85
testFunction · 0.85

Calls 1

EnvMethod · 0.80

Tested by 1

testFunction · 0.68