UNPKG

@openmrs/esm-utils

Version:
13 lines 533 B
/** @module @category Utility */ /** * Checks whether two objects are equal, using a shallow comparison, similar to React. * * In essence, shallowEquals ensures two objects have the same own properties and that the values * of these are equal (===) to each other. * * @param a The first value to compare * @param b The second value to compare * @returns true if the objects are shallowly equal to each other */ export declare function shallowEqual(a: unknown, b: unknown): boolean; //# sourceMappingURL=shallowEqual.d.ts.map