Displaying 1 to 3 from 3 results

is-equal-shallow - Does a shallow comparison of two objects, returning false if the keys or values differ

  •    Javascript

Does a shallow comparison of two objects, returning false if the keys or values differ. The purpose of this lib is to do the fastest comparison possible of two objects when the values will predictably be primitives.

fast-equals - A blazing fast equality comparison, either shallow or deep

  •    Javascript

Perform blazing fast equality comparisons (either deep or shallow) on two objects passed. It has no dependencies, and is ~1.3kB when minified and gzipped. Starting with version 1.5.0, circular objects are supported for both deep and shallow equality (see circularDeepEqual and circularShallowEqual). You can also create a custom nested comparator, for specific scenarios (see below).