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

Function Q

resources/vega.min.js:227–242  ·  view source on GitHub ↗
(t, n, i)

Source from the content-addressed store, hash-verified

225 }
226 const Z = "descending";
227 function Q(t, n, i) {
228 ((i = i || {}), (n = V(n) || []));
229 const o = [],
230 a = [],
231 s = {},
232 u = i.comparator || tt;
233 return (
234 V(t).forEach((t, e) => {
235 null != t &&
236 (o.push(n[e] === Z ? -1 : 1),
237 a.push((t = J(t) ? t : l(t, null, i))),
238 (r(t) || []).forEach((t) => (s[t] = 1)));
239 }),
240 0 === a.length ? null : e(u(a, o), Object.keys(s))
241 );
242 }
243 const K = (t, e) =>
244 (t < e || null == t) && null != e
245 ? -1

Callers 2

cuFunction · 0.70
vega.min.jsFile · 0.70

Calls 6

eFunction · 0.85
VFunction · 0.70
JFunction · 0.70
lFunction · 0.70
rFunction · 0.70
uFunction · 0.70

Tested by

no test coverage detected