Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
53
export
function
hasSymbol(name) {
54
55
return
typeof Symbol ===
"function"
&& Boolean(Symbol[name]);
56
}
57
58
export
function
getSymbol(name) {
59
Callers
2
"Iterables: values are delivered to next"
Function · 0.90
getSymbol
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected