@resk/core
Version:
An innovative TypeScript framework that empowers developers to build applications with a fully decorator-based architecture for efficient resource management. By combining the power of decorators with a resource-oriented design, DecorRes enhances code cla
20 lines (19 loc) • 668 B
TypeScript
/**
* Checks if two values are equal.
*
* This function performs a deep comparison of the two values, checking if they are equal.
* It handles various types, including arrays, maps, sets, and objects.
*
* @param {any} a The first value to compare.
* @param {any} b The second value to compare.
* @returns {boolean} True if the values are equal, false otherwise.
*
* @example
* areEquals(1, 1); // true
* areEquals(1, 2); // false
* areEquals({ a: 1 }, { a: 1 }); // true
* areEquals({ a: 1 }, { a: 2 }); // false
* areEquals([1, 2], [1, 2]); // true
* areEquals([1, 2], [1, 3]); // false
*/
export declare function areEquals(a: any, b: any): boolean;