isEqual
Deeply compares two values for equality, handling objects, arrays, dates, regex, maps, sets, symbols, and BigInt.
a
(any
): The first value to compare.b
(any
): The second value to compare.options
(boolean | { ordered: boolean }
): If true, arrays are compared in order, otherwise unordered. Default: true.seen
(WeakMap<object, object>
): A map used to track circular references during comparison.boolean
): Returns true
if the values are deeply equal, false otherwise.