UNPKG

@kabbi/react-redux-form

Version:
11 lines (10 loc) 330 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = arraysEqual; function arraysEqual(firstArray, secondArray) { return firstArray && secondArray && firstArray.length === secondArray.length && firstArray.every(function (item, index) { return item === secondArray[index]; }); }