MCPcopy Index your code
hub / github.com/dataease/SQLBot / deepEqual

Function deepEqual

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

Source from the content-addressed store, hash-verified

1800 )
1801 }
1802 function deepEqual(s, o) {
1803 if (s === o) return !0
1804 if (
1805 !isIterable(o) ||
1806 (void 0 !== s.size && void 0 !== o.size && s.size !== o.size) ||
1807 (void 0 !== s.__hash && void 0 !== o.__hash && s.__hash !== o.__hash) ||
1808 isKeyed(s) !== isKeyed(o) ||
1809 isIndexed(s) !== isIndexed(o) ||
1810 isOrdered(s) !== isOrdered(o)
1811 )
1812 return !1
1813 if (0 === s.size && 0 === o.size) return !0
1814 var i = !isAssociative(s)
1815 if (isOrdered(s)) {
1816 var a = s.entries()
1817 return (
1818 o.every(function (s, o) {
1819 var u = a.next().value
1820 return u && is(u[1], s) && (i || is(u[0], o))
1821 }) && a.next().done
1822 )
1823 }
1824 var u = !1
1825 if (void 0 === s.size)
1826 if (void 0 === o.size) 'function' == typeof s.cacheResult && s.cacheResult()
1827 else {
1828 u = !0
1829 var _ = s
1830 ;((s = o), (o = _))
1831 }
1832 var w = !0,
1833 x = o.__iterate(function (o, a) {
1834 if (i ? !s.has(o) : u ? !is(o, s.get(a, j)) : !is(s.get(a, j), o))
1835 return ((w = !1), !1)
1836 })
1837 return w && s.size === x
1838 }
1839 function Repeat(s, o) {
1840 if (!(this instanceof Repeat)) return new Repeat(s, o)
1841 if (

Callers 1

Calls 9

isIterableFunction · 0.85
isKeyedFunction · 0.85
isIndexedFunction · 0.85
isOrderedFunction · 0.85
isAssociativeFunction · 0.85
nextMethod · 0.80
isFunction · 0.70
getMethod · 0.65
hasMethod · 0.45

Tested by

no test coverage detected