Nanoscale Parts Manufacturing
Publish your own packages to the world's most popular software ecosystem with npm Pro.Get started »

is-object

1.0.1 • Public • Published

is-object Version Badge

build status dependency status dev dependency status License Downloads

npm badge

browser support

Checks whether a value is an object

Because typeof null is a troll.

Example

var isObject = require('is-object');
var assert = require('assert');
 
assert.equal(isObject(null), false);
assert.equal(isObject({}), true);

Installation

npm install is-object

Contributors

MIT Licensed

Keywords

none

Install

npm i is-object

DownloadsWeekly Downloads

2,825,963

Version

1.0.1

License

MIT

Last publish

Collaborators

  • avatar
  • avatar