MCPcopy Index your code
hub / github.com/bigskysoftware/_hyperscript / contains

Method contains

tools/common/_hyperscript.iife.js:1976–1983  ·  view source on GitHub ↗
(elt)

Source from the content-addressed store, hash-verified

1974 return this.className;
1975 }
1976 contains(elt) {
1977 for (let element of this) {
1978 if (element.contains(elt)) {
1979 return true;
1980 }
1981 }
1982 return false;
1983 }
1984 get length() {
1985 return this.selectMatches().length;
1986 }

Callers 12

_findBestMatchFunction · 0.45
resolveMethod · 0.45
sloppyContainsMethod · 0.45
resolveMethod · 0.45
toggleMethod · 0.45
installMethod · 0.45
_createExpressionSideFunction · 0.45
toggle.jsFile · 0.45
make.jsFile · 0.45
bootstrap.jsFile · 0.45
closest.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected