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

Function ru

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

Source from the content-addressed store, hash-verified

6372 },
6373 };
6374 function ru(e) {
6375 let {
6376 model: n,
6377 channelDef: i,
6378 vgChannel: r,
6379 invalidValueRef: o,
6380 mainRefFn: a,
6381 } = e;
6382 const s = Qo(i) && i.condition;
6383 let l = [];
6384 if (s) {
6385 l = t.array(s).map((e) => {
6386 const t = a(e);
6387 if (
6388 (function (e) {
6389 return J(e, "param");
6390 })(e)
6391 ) {
6392 const { param: i, empty: r } = e;
6393 return { test: ff(n, { param: i, empty: r }), ...t };
6394 }
6395 return { test: mf(n, e.test), ...t };
6396 });
6397 }
6398 void 0 !== o && l.push(o);
6399 const c = a(i);
6400 return (
6401 void 0 !== c && l.push(c),
6402 l.length > 1 || (1 === l.length && Boolean(l[0].test))
6403 ? { [r]: l }
6404 : 1 === l.length
6405 ? { [r]: l[0] }
6406 : {}
6407 );
6408 }
6409 function ou(e) {
6410 let t =
6411 arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "text";

Callers 6

ouFunction · 0.70
suFunction · 0.70
duFunction · 0.70
muFunction · 0.70
guFunction · 0.70
GfFunction · 0.70

Calls 6

QoFunction · 0.85
aFunction · 0.70
JFunction · 0.70
ffFunction · 0.70
mfFunction · 0.70
mapMethod · 0.45

Tested by

no test coverage detected