Performs a deep comparison between two values to determine if they are equivalent. Supports primitives, arrays, maps, sets, and plain objects.
The first value to compare
The second value to compare
True if the values are deeply equal
isEqual({ a: 1 }, { a: 1 }); // true Copy
isEqual({ a: 1 }, { a: 1 }); // true
Performs a deep comparison between two values to determine if they are equivalent. Supports primitives, arrays, maps, sets, and plain objects.