Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tc39/proposal-observable
/ getSymbol
Function
getSymbol
test/helpers.js:58–61 ·
view source on GitHub ↗
(name)
Source
from the content-addressed store, hash-verified
56
}
57
58
export
function
getSymbol(name) {
59
60
return
hasSymbol(name) ? Symbol[name] :
"@@"
+ name;
61
}
Callers
8
[getSymbol("observable")]
Function · 0.90
"Symbol.observable method is accessed"
Function · 0.90
"Observable.prototype has a Symbol.observable method"
Function · 0.90
"Return value"
Function · 0.90
"Species is used to determine the constructor"
Function · 0.90
"Species is used to determine the constructor"
Function · 0.90
"Observable has a species method"
Function · 0.90
"Return value"
Function · 0.90
Calls
1
hasSymbol
Function · 0.70
Tested by
no test coverage detected