Skip to content

isDeepEqual ​

It returns true if the params are equal in depth.

Types ​

IsDeepEqualProps ​

Parameters accepted by isDeepEqual.

PropertyTypeRequiredDescription
objAunknown✓The first value to compare.
objBunknown✓The 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.