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

Function pm

resources/vega-lite.min.js:10797–10806  ·  view source on GitHub ↗
(e, n)

Source from the content-addressed store, hash-verified

10795 (o || a) && n.set("selectionExtent", o ?? a, !0);
10796 }
10797 function pm(e, n) {
10798 const { aggregate: i, type: r } = e;
10799 return i
10800 ? t.isString(i) && !fn.has(i)
10801 ? { valid: !1, reason: mi(i) }
10802 : "quantitative" === r && "log" === n
10803 ? { valid: !1, reason: pi(e) }
10804 : { valid: !0 }
10805 : { valid: !1, reason: di(e) };
10806 }
10807 function gm(e, t, n, i) {
10808 return (
10809 e.explicit &&

Callers 1

cmFunction · 0.70

Calls 4

miFunction · 0.70
piFunction · 0.70
diFunction · 0.70
hasMethod · 0.45

Tested by

no test coverage detected