Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
27
Value 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
35
Value TestInt64(const CallbackInfo& info) {
36
bool lossless;
Callers
2
napi-inl.h
File · 0.85
test
Function · 0.85
Calls
1
Env
Method · 0.80
Tested by
1
test
Function · 0.68