MCPcopy Create free account
hub / github.com/alignoth/alignoth / intersects

Method intersects

resources/vega-embed.min.js:1280–1290  ·  view source on GitHub ↗
(e, n)

Source from the content-addressed store, hash-verified

1278 return (n.set(t, y), y);
1279 }
1280 intersects(e, n) {
1281 if (!(e instanceof t)) throw new TypeError("a Range is required");
1282 return this.set.some(
1283 (t) =>
1284 m(t, n) &&
1285 e.set.some(
1286 (e) =>
1287 m(e, n) && t.every((t) => e.every((e) => t.intersects(e, n))),
1288 ),
1289 );
1290 }
1291 test(e) {
1292 if (!e) return !1;
1293 if ("string" == typeof e)

Callers 7

DmFunction · 0.80
PmFunction · 0.80
jmFunction · 0.80
vega.min.jsFile · 0.80
z_Function · 0.80
O_Function · 0.80
mFunction · 0.80

Calls 4

testMethod · 0.80
mFunction · 0.70
nFunction · 0.70
oFunction · 0.70

Tested by

no test coverage detected