Open
Description
if (lhs === rhs || !isObject(lhs) || !isObject(rhs)) return {};
If we could return null
here, so that in detailedDiff we could receive added: null
, it would be very easy to see that nothing was added. Currently is seems that we have to use Object.keys(diff.added).length
to find out if anything was added. Same for deleted and updated.
Metadata
Metadata
Assignees
Labels
No labels