Jesus sucks
This commit is contained in:
9
backend/frontend/node_modules/@mui/material/legacy/utils/areArraysEqual.js
generated
vendored
Normal file
9
backend/frontend/node_modules/@mui/material/legacy/utils/areArraysEqual.js
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user