Open vikingair opened 1 year ago
Could you also export a function called equals like so?
equals
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?
Could you also export a function called
equals
like so?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?