check if variable is an object
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
History.md
Makefile
Readme.md
component.json
index.js

Readme.md

isObject

check if an variable is an object

Installation

$ component install matthewmueller/isObject

Example

isObject([]) // false
isObject(new Date()) // false
isObject({}) // true

License

MIT