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

Function compareRef

resources/vega.min.js:32679–32692  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

32677 return r;
32678 },
32679 compareRef(t) {
32680 let e = !1;
32681 const n = (t) =>
32682 rO(t)
32683 ? ((e = !0), this.signalRef(t.signal))
32684 : (function (t) {
32685 return t && t.expr;
32686 })(t)
32687 ? ((e = !0), this.exprRef(t.expr))
32688 : t,
32689 r = V(t.field).map(n),
32690 i = V(t.order).map(n);
32691 return e ? XN(this.add(bO({ fields: r, orders: i }))) : QN(r, i);
32692 },
32693 keyRef(t, e) {
32694 let n = !1;
32695 const r = this.signals;

Callers

nothing calls this directly

Calls 5

XNFunction · 0.85
QNFunction · 0.85
VFunction · 0.70
mapMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected