(s, o, i)
| 38754 | ) |
| 38755 | } |
| 38756 | } |
| 38757 | function validate(s, o, i) { |
| 38758 | try { |
| 38759 | if (!Array.isArray(s)) |
| 38760 | throw new Do('Patch sequence must be an array', 'SEQUENCE_NOT_AN_ARRAY') |
| 38761 | if (o) applyPatch(_deepClone(o), _deepClone(s), i || !0) |
| 38762 | else { |
| 38763 | i = i || validator |
| 38764 | for (var a = 0; a < s.length; a++) i(s[a], a, o, void 0) |
| 38765 | } |
| 38766 | } catch (s) { |
| 38767 | if (s instanceof Do) return s |
| 38768 | throw s |
| 38769 | } |
| 38770 | } |
| 38771 | function _areEquals(s, o) { |
| 38772 | if (s === o) return !0 |
no test coverage detected