MCPcopy Create free account
hub / github.com/dataease/SQLBot / _areEquals

Function _areEquals

frontend/public/swagger-ui-bundle.js:38770–38791  ·  view source on GitHub ↗
(s, o)

Source from the content-addressed store, hash-verified

38768 throw s
38769 }
38770 }
38771 function _areEquals(s, o) {
38772 if (s === o) return !0
38773 if (s && o && 'object' == typeof s && 'object' == typeof o) {
38774 var i,
38775 a,
38776 u,
38777 _ = Array.isArray(s),
38778 w = Array.isArray(o)
38779 if (_ && w) {
38780 if ((a = s.length) != o.length) return !1
38781 for (i = a; 0 != i--; ) if (!_areEquals(s[i], o[i])) return !1
38782 return !0
38783 }
38784 if (_ != w) return !1
38785 var x = Object.keys(s)
38786 if ((a = x.length) !== Object.keys(o).length) return !1
38787 for (i = a; 0 != i--; ) if (!o.hasOwnProperty(x[i])) return !1
38788 for (i = a; 0 != i--; ) if (!_areEquals(s[(u = x[i])], o[u])) return !1
38789 return !0
38790 }
38791 return s != s && o != o
38792 }
38793 var $o = new WeakMap(),
38794 qo = function qo(s) {

Callers 2

applyOperationFunction · 0.85

Calls 2

isArrayMethod · 0.45
keysMethod · 0.45

Tested by

no test coverage detected