UNPKG

@mui/material

Version:

Material UI is an open-source React component library that implements Google's Material Design. It's comprehensive and can be used in production out of the box.

9 lines 342 B
function areArraysEqual(array1, array2) { var itemComparer = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : function (a, b) { return a === b; }; return array1.length === array2.length && array1.every(function (value, index) { return itemComparer(value, array2[index]); }); } export default areArraysEqual;