Created
July 21, 2020 12:20
-
-
Save finreinhard/fee8bfe55369d556bed205ec046b3500 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const whatsDifferent = (old: any, check: any) => Object.entries(old) | |
.filter(entry => entry[1] !== check[entry[0]]) | |
.map(entry => entry[0]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment