UNPKG

@kabbi/react-redux-form

Version:
6 lines (5 loc) 219 B
export default function arraysEqual(firstArray, secondArray) { return firstArray && secondArray && firstArray.length === secondArray.length && firstArray.every((item, index) => item === secondArray[index]); }