Skip to content

isDeepEqual

It returns true if the params are equal in depth.

Types

IsDeepEqualProps

Parameters accepted by isDeepEqual.

PropertyTypeRequiredDescription
objAunknownThe first value to compare.
objBunknownThe second value to compare.
mapWeakMap<object, unknown>An internal WeakMap used to track already-visited object pairs and handle circular references. Should not be passed by callers — it is managed automatically by recursive calls.

Released under the MIT License.