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

Function yf

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

Source from the content-addressed store, hash-verified

7917 return n;
7918 }
7919 function yf(e, t, n, i) {
7920 return Object.assign.apply(null, [
7921 {},
7922 ...e.map((e) => {
7923 if ("axisOrient" === e) {
7924 const e = "x" === n ? "bottom" : "left",
7925 r = t["x" === n ? "axisBottom" : "axisLeft"] || {},
7926 o = t["x" === n ? "axisTop" : "axisRight"] || {},
7927 a = new Set([...D(r), ...D(o)]),
7928 s = {};
7929 for (const t of a.values())
7930 s[t] = {
7931 signal: `${i.signal} === "${e}" ? ${An(r[t])} : ${An(o[t])}`,
7932 };
7933 return s;
7934 }
7935 return t[e];
7936 }),
7937 ]);
7938 }
7939 function vf(e, n) {
7940 const i = [{}];
7941 for (const r of e) {

Callers 1

OpFunction · 0.70

Calls 3

DFunction · 0.85
AnFunction · 0.70
mapMethod · 0.45

Tested by

no test coverage detected