deep-object-diff icon indicating copy to clipboard operation
deep-object-diff copied to clipboard

Feature Request: Add `equals` method

Open vikingair opened this issue 2 years ago • 0 comments

Could you also export a function called equals like so?

const equals = (a, b) => Object.keys(diff(a, b)).length === 0;

This would make it more obvious that additional packages like https://www.npmjs.com/package/fast-deep-equal, don't have to be installed alongside this package?

vikingair avatar Feb 15 '23 12:02 vikingair