Created
June 25, 2021 08:07
-
-
Save AlexKardone/444711126065d79dba0abd323184661a to your computer and use it in GitHub Desktop.
Check is Object
This file contains 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
return obj !== null && typeof obj === 'object' && !Array.isArray(obj); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment