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

Function go

resources/vega-lite.min.js:1762–1774  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

1760 : e;
1761 }
1762 function go(e) {
1763 let {
1764 markDef: t,
1765 config: n,
1766 scaleChannel: i,
1767 scaleType: r,
1768 isCountAggregate: o,
1769 } = e;
1770 if (!r || !Sr(r) || o) return "always-valid";
1771 const a = po(En("invalid", t, n), { isPath: Zr(t.type) }),
1772 s = n.scale?.invalid?.[i];
1773 return void 0 !== s ? "show" : a;
1774 }
1775 function ho(e) {
1776 let { scaleName: t, scale: n, mode: i } = e;
1777 const r = `domain('${t}')`;

Callers 3

yoFunction · 0.70
TuFunction · 0.70
makeMethod · 0.70

Calls 4

EnFunction · 0.85
SrFunction · 0.70
poFunction · 0.70
ZrFunction · 0.70

Tested by

no test coverage detected