Created
October 29, 2020 11:49
-
-
Save yairEO/bfda398a7dc75a6226535ee6cbdca72b to your computer and use it in GitHub Desktop.
javascript isObject check
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
const isObject = obj => (obj+"") === "[object Object]" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment