is-object

Checks whether a value is an object

npm install is-object
562 downloads in the last day
3 090 downloads in the last week
17 480 downloads in the last month

is-object

build status dependency status

browser support

Checks whether a value is an object

Because typeof null is a troll.

Example

var isObject = require("is-object")

console.log(isObject(null)) // false
console.log(isObject(require("util"))) // true

Installation

npm install is-object

Contributors

  • Raynos

MIT Licenced

npm loves you