MCPcopy 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
93Value CheckSymbol(const CallbackInfo& info) {
94 return Boolean::New(info.Env(), info[0].Type() == napi_symbol);
95}
96
97void NullStringShouldThrow(const CallbackInfo& info) {
98 const char* nullStr = nullptr;

Callers

nothing calls this directly

Calls 1

EnvMethod · 0.80

Tested by

no test coverage detected