Created
June 25, 2021 07:30
-
-
Save AlexKardone/4bfd2daad6105b2b362f9a5901fc61cd 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
function isObject(obj) { | |
return obj?.constructor.name === 'Object'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment