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

Function L

resources/vega-embed.min.js:442–463  ·  view source on GitHub ↗
(e, t)

Source from the content-addressed store, hash-verified

440 }
441 }
442 function L(e, t) {
443 if (e === t) return !0;
444 if (e && t && "object" == typeof e && "object" == typeof t) {
445 var n,
446 r,
447 i,
448 o = Array.isArray(e),
449 a = Array.isArray(t);
450 if (o && a) {
451 if ((r = e.length) != t.length) return !1;
452 for (n = r; 0 != n--; ) if (!L(e[n], t[n])) return !1;
453 return !0;
454 }
455 if (o != a) return !1;
456 var s = Object.keys(e);
457 if ((r = s.length) !== Object.keys(t).length) return !1;
458 for (n = r; 0 != n--; ) if (!t.hasOwnProperty(s[n])) return !1;
459 for (n = r; 0 != n--; ) if (!L(e[(i = s[n])], t[i])) return !1;
460 return !0;
461 }
462 return e != e && t != t;
463 }
464 var N = Object.freeze({
465 __proto__: null,
466 JsonPatchError: E,

Callers 3

vega-embed.min.jsFile · 0.70
OFunction · 0.70
parseRangeMethod · 0.70

Calls 1

oFunction · 0.70

Tested by

no test coverage detected