@wordpress/is-shallow-equal
Version:
Test for shallow equality between two objects or arrays.
10 lines • 448 B
TypeScript
/**
* Returns true if the two objects are shallow equal, or false otherwise.
*
* @param {import('.').ComparableObject} a First object to compare.
* @param {import('.').ComparableObject} b Second object to compare.
*
* @return {boolean} Whether the two objects are shallow equal.
*/
export default function isShallowEqualObjects(a: import(".").ComparableObject, b: import(".").ComparableObject): boolean;
//# sourceMappingURL=objects.d.ts.map