MCPcopy Create free account
hub / github.com/nodejs/node-addon-api / assertSymbolIsNotWellknown

Function assertSymbolIsNotWellknown

test/symbol.js:35–38  ·  view source on GitHub ↗
(symbol)

Source from the content-addressed store, hash-verified

33 }
34
35 function assertSymbolIsNotWellknown (symbol) {
36 const symbolTest = binding.symbol.getWellKnownSymbol(symbol);
37 assert(symbolTest === undefined);
38 }
39
40 function assertCanCreateOrFetchGlobalSymbols (symbol, fetchFunction) {
41 const symbOne = fetchFunction(symbol);

Callers 1

testFunction · 0.85

Calls

no outgoing calls

Tested by 1

testFunction · 0.68