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

Function Gf

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

Source from the content-addressed store, hash-verified

8443 return "childWidth" === e ? "width" : "childHeight" === e ? "height" : e;
8444 }
8445 function Gf(e, t) {
8446 return D(e).reduce(
8447 (n, i) => ({
8448 ...n,
8449 ...ru({
8450 model: t,
8451 channelDef: e[i],
8452 vgChannel: i,
8453 mainRefFn: (e) => Pn(e.value),
8454 invalidValueRef: void 0,
8455 }),
8456 }),
8457 {},
8458 );
8459 }
8460 function Yf(e, t) {
8461 if (Um(t)) return "theta" === e ? "independent" : "shared";
8462 if (Im(t)) return "shared";

Callers 2

cdFunction · 0.70
OpFunction · 0.70

Calls 3

DFunction · 0.85
PnFunction · 0.85
ruFunction · 0.70

Tested by

no test coverage detected