Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nodejs/node-addon-api
/ CheckSymbol
Function
CheckSymbol
test/name.cc:93–95 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
91
}
92
93
Value CheckSymbol(const CallbackInfo& info) {
94
return Boolean::New(info.Env(), info[0].Type() == napi_symbol);
95
}
96
97
void NullStringShouldThrow(const CallbackInfo& info) {
98
const char* nullStr = nullptr;
Callers
nothing calls this directly
Calls
1
Env
Method · 0.80
Tested by
no test coverage detected