You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
https://github.com/mattphillips/deep-object-diff/blob/a24d61fea6d6d644fc3e32a853f685953d6d5b41/src/added.js#LL5C1-L5C1
If we could return
null
here, so that in detailedDiff we could receiveadded: null
, it would be very easy to see that nothing was added. Currently is seems that we have to useObject.keys(diff.added).length
to find out if anything was added. Same for deleted and updated.The text was updated successfully, but these errors were encountered: