@wordpress/is-shallow-equal
Version:
Test for shallow equality between two objects or arrays.
10 lines • 332 B
TypeScript
/**
* Returns true if the two arrays are shallow equal, or false otherwise.
*
* @param a First array to compare.
* @param b Second array to compare.
*
* @return Whether the two arrays are shallow equal.
*/
export default function isShallowEqualArrays(a: unknown[], b: unknown[]): boolean;
//# sourceMappingURL=arrays.d.ts.map