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

Function xo

resources/vega-lite.min.js:1842–1859  ·  view source on GitHub ↗
(e, t, n, i)

Source from the content-addressed store, hash-verified

1840 return void 0 !== c ? [c, l] : l;
1841 }
1842 function xo(e, t, n, i) {
1843 const r = {};
1844 if ((t && (r.scale = t), ta(e))) {
1845 const { datum: t } = e;
1846 Di(t)
1847 ? (r.signal = Pi(t))
1848 : wn(t)
1849 ? (r.signal = t.signal)
1850 : vn(t)
1851 ? (r.signal = t.expr)
1852 : (r.value = t);
1853 } else r.field = ma(e, n);
1854 if (i) {
1855 const { offset: e, band: t } = i;
1856 (e && (r.offset = e), t && (r.band = t));
1857 }
1858 return r;
1859 }
1860 function $o(e) {
1861 let {
1862 scaleName: t,

Callers 4

woFunction · 0.70
yuFunction · 0.70
SuFunction · 0.70
FuFunction · 0.70

Calls 6

vnFunction · 0.85
taFunction · 0.70
DiFunction · 0.70
PiFunction · 0.70
wnFunction · 0.70
maFunction · 0.70

Tested by

no test coverage detected