lix-website/themes/lix/assets/bootstrap/node_modules/is-object/README.md
2024-04-26 22:49:34 -06:00

1.4 KiB

is-object Version Badge

dependency status dev dependency status License Downloads

npm badge

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