@rbxts/pretty-react-hooks
Version:
Useful hooks for @rbxts/react
8 lines (7 loc) • 310 B
TypeScript
/**
* Compares two objects to see if they are shallowly equal.
* @param objectA The first object to compare.
* @param objectB The second object to compare.
* @returns Whether or not the two objects are shallowly equal.
*/
export declare function shallowEqual(objectA?: object, objectB?: object): boolean;