MCPcopy 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

_containsTargetMethod · 0.45
_findBestMatchFunction · 0.45
tailwindPluginFunction · 0.45
resolveMethod · 0.45
toggleMethod · 0.45
resolveMethod · 0.45
sloppyContainsMethod · 0.45
installMethod · 0.45
_createExpressionSideFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected