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

Function q_

resources/vega.min.js:15622–15646  ·  view source on GitHub ↗
(t, e, n)

Source from the content-addressed store, hash-verified

15620 }
15621 const U_ = 1e-9;
15622 function q_(t, e, n) {
15623 return (
15624 t === e ||
15625 ("path" === n
15626 ? P_(t, e)
15627 : t instanceof Date && e instanceof Date
15628 ? +t == +e
15629 : yt(t) && yt(e)
15630 ? Math.abs(t - e) <= U_
15631 : t && e && (A(t) || A(e))
15632 ? (function (t, e) {
15633 var n,
15634 r,
15635 i = Object.keys(t),
15636 o = Object.keys(e);
15637 if (i.length !== o.length) return !1;
15638 for (i.sort(), o.sort(), r = i.length - 1; r >= 0; r--)
15639 if (i[r] != o[r]) return !1;
15640 for (r = i.length - 1; r >= 0; r--)
15641 if (!q_(t[(n = i[r])], e[n], n)) return !1;
15642 return typeof t == typeof e;
15643 })(t, e)
15644 : t == e)
15645 );
15646 }
15647 function P_(t, e) {
15648 return q_(ag(t), ag(e));
15649 }

Callers 1

P_Function · 0.85

Calls 3

P_Function · 0.85
ytFunction · 0.85
AFunction · 0.70

Tested by

no test coverage detected