ghaction-upx/node_modules/is-object
2020-01-17 09:39:25 +01:00
..
test Update node_modules 2020-01-17 09:39:25 +01:00
.jscs.json Update node_modules 2020-01-17 09:39:25 +01:00
.npmignore Update node_modules 2020-01-17 09:39:25 +01:00
.testem.json Update node_modules 2020-01-17 09:39:25 +01:00
.travis.yml Update node_modules 2020-01-17 09:39:25 +01:00
index.js Update node_modules 2020-01-17 09:39:25 +01:00
LICENSE Update node_modules 2020-01-17 09:39:25 +01:00
package.json Update node_modules 2020-01-17 09:39:25 +01:00
README.md Update node_modules 2020-01-17 09:39:25 +01:00

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