UNPKG

@mui/base

Version:

Base UI is a library of headless ('unstyled') React components and low-level hooks. You gain complete control over your app's CSS and accessibility features.

9 lines (8 loc) 310 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.areArraysEqual = areArraysEqual; function areArraysEqual(array1, array2, itemComparer = (a, b) => a === b) { return array1.length === array2.length && array1.every((value, index) => itemComparer(value, array2[index])); }