Skip to content

Instantly share code, notes, and snippets.

@yairEO
Created October 29, 2020 11:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yairEO/bfda398a7dc75a6226535ee6cbdca72b to your computer and use it in GitHub Desktop.
Save yairEO/bfda398a7dc75a6226535ee6cbdca72b to your computer and use it in GitHub Desktop.
javascript isObject check
const isObject = obj => (obj+"") === "[object Object]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment