@surveycake/utils
Version:
SurveyCake Javascript Utils
10 lines (9 loc) • 339 B
TypeScript
/**
* @module comparator
*/
/**
* Performs equality by iterating through keys on an object and returning false
* when any key has values which are not strictly equal between the arguments.
* Returns true when the values of all keys are strictly equal.
*/
export declare function shallowEqual(objA: any, objB: any): boolean;