Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bigskysoftware/_hyperscript
/ contains
Method
contains
src/core/runtime/collections.js:30–37 ·
view source on GitHub ↗
(elt)
Source
from the content-addressed store, hash-verified
28
}
29
30
contains(elt) {
31
for
(
let
element of this) {
32
if
(element.contains(elt)) {
33
return
true;
34
}
35
}
36
return
false;
37
}
38
39
get length() {
40
return
this.selectMatches().length;
Callers
9
_containsTarget
Method · 0.45
_findBestMatch
Function · 0.45
tailwindPlugin
Function · 0.45
resolve
Method · 0.45
toggle
Method · 0.45
resolve
Method · 0.45
sloppyContains
Method · 0.45
install
Method · 0.45
_createExpressionSide
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected