You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
364 B
15 lines
364 B
import each from './each';
|
|
export default (function (obj1, obj2) {
|
|
if (obj1.length !== obj2.length) {
|
|
return false;
|
|
}
|
|
var result = true;
|
|
each(obj1, function (item, i) {
|
|
if (item !== obj2[i]) {
|
|
result = false;
|
|
return false;
|
|
}
|
|
});
|
|
return result;
|
|
});
|
|
//# sourceMappingURL=is-segment-equal.js.map
|