Repository URL to install this package:
|
Version:
1.3.1-1468329898 ▾
|
Returns true if the value is an object and not an array or null.
Use is-plain-object if you want only objects that are created by the Object constructor.
Install with npm
$ npm i isobject --save
Install with bower
$ bower install isobject --save
var isObject = require('isobject');
True
All of the following return true:
isObject({}); isObject(Object.create({})); isObject(Object.create(Object.prototype)); isObject(Object.create(null)); isObject({}); isObject(new Foo); isObject(/foo/);
False
All of the following return false:
isObject(); isObject(function () {}); isObject(1); isObject([]); isObject(undefined); isObject(null);
Object constructor.Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Jon Schlinkert
Copyright © 2014-2015 Jon Schlinkert Released under the MIT license.
This file was generated by verb-cli on July 20, 2015.