MCPcopy
hub / github.com/tc39/proposal-observable / hasSymbol

Function hasSymbol

test/helpers.js:53–56  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

51}
52
53export function hasSymbol(name) {
54
55 return typeof Symbol === "function" && Boolean(Symbol[name]);
56}
57
58export function getSymbol(name) {
59

Callers 2

getSymbolFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected