Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/hotwired/stimulus
/ has
Method
has
src/core/data_map.ts:30–33 ·
view source on GitHub ↗
(key: string)
Source
from the content-addressed store, hash-verified
28
}
29
30
has(key: string): boolean {
31
const
name = this.getAttributeNameForKey(key)
32
return
this.element.hasAttribute(name)
33
}
34
35
delete(key: string): boolean {
36
if
(this.has(key)) {
Callers
11
delete
Method · 0.95
get
Function · 0.45
warn
Method · 0.45
invokeChangedCallbacksForDefaultValues
Method · 0.45
connectOutlet
Method · 0.45
disconnectOutlet
Method · 0.45
get
Function · 0.45
get
Function · 0.45
connectTarget
Method · 0.45
disconnectTarget
Method · 0.45
get
Function · 0.45
Calls
1
getAttributeNameForKey
Method · 0.95
Tested by
no test coverage detected