Skip to content

Releases: alizeait/nested-equal

[email protected]

16 Feb 00:18
f50f83f
Compare
Choose a tag to compare

1.0.1

Takes 2 values and returns a boolean indicating if they are equal or not by traversing recursively.
Supports Objects, Arrays, Numbers, Strings, null, undefined, NaN, Functions. Other types like Map, Set, Date and others use reference equality instead of value equality.

Key order within objects does not matter while value order within arrays does matter.