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

Method map

resources/vega-lite.min.js:5039–5047  ·  view source on GitHub ↗
(e, t)

Source from the content-addressed store, hash-verified

5037 }
5038 class Ql extends rl {
5039 map(e, t) {
5040 const n = t.selections ?? [];
5041 if (e.params && !Ua(e)) {
5042 const t = [];
5043 for (const i of e.params) Ns(i) ? n.push(i) : t.push(i);
5044 e.params = t;
5045 }
5046 return ((t.selections = n), super.map(e, t));
5047 }
5048 mapUnit(e, n) {
5049 const i = n.selections;
5050 if (!i || !i.length) return e;

Callers

nothing calls this directly

Calls 3

UaFunction · 0.70
NsFunction · 0.70
mapMethod · 0.45

Tested by

no test coverage detected