Created
June 26, 2020 19:12
-
-
Save robertoandres24/0847c0056ae514b777d52ccea320c62d 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
//returns true if is empty | |
Object.keys(obj).length === 0 && obj.constructor === Object |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment