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

Function xt

resources/vega.min.js:430–456  ·  view source on GitHub ↗
(t, n, r)

Source from the content-addressed store, hash-verified

428 return "string" == typeof t;
429 }
430 function xt(t, n, r) {
431 t && (t = n ? V(t).map((t) => t.replace(/\\(.)/g, "$1")) : V(t));
432 const o = t && t.length,
433 a = (r && r.get) || i,
434 s = (t) => a(n ? [t] : u(t));
435 let l;
436 if (o)
437 if (1 === o) {
438 const e = s(t[0]);
439 l = function (t) {
440 return "" + e(t);
441 };
442 } else {
443 const e = t.map(s);
444 l = function (t) {
445 let n = "" + e[0](t),
446 r = 0;
447 for (; ++r < o; ) n += "|" + e[r](t);
448 return n;
449 };
450 }
451 else
452 l = function () {
453 return "";
454 };
455 return e(l, t, "key");
456 }
457 function bt(t, e) {
458 const n = t[0],
459 r = F(t),

Callers 2

quFunction · 0.85
vega.min.jsFile · 0.85

Calls 4

eFunction · 0.85
VFunction · 0.70
sFunction · 0.70
mapMethod · 0.45

Tested by

no test coverage detected