UNPKG

@n3okill/utils

Version:
8 lines (7 loc) 361 B
/** * It checks if two objects have the same keys and values * @param {T} a - The first object to compare. * @param {U} b - The object to compare against. * @returns The return value is `true` if the two objects are equal, `false` otherwise. */ export declare function equalObject<T extends Record<PropertyKey, unknown>, U extends T>(a: T, b: U): boolean;