UNPKG

364 BJavaScriptView Raw
1import each from './each';
2export default (function (obj1, obj2) {
3 if (obj1.length !== obj2.length) {
4 return false;
5 }
6 var result = true;
7 each(obj1, function (item, i) {
8 if (item !== obj2[i]) {
9 result = false;
10 return false;
11 }
12 });
13 return result;
14});
15//# sourceMappingURL=is-segment-equal.js.map
\No newline at end of file