Package Exports
- isobject
- isobject/index
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (isobject) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
isobject 
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
npm i isobject --save
Usage
var isObject = require('isobject');
True
isObject({});
//=> true
isObject(Object.create({}));
//=> true
isObject(Object.create(Object.prototype));
//=> true
isObject(Object.create(null));
//=> true
isObject({});
//=> true
isObject(new Foo);
//=> true
isObject(/foo/);
//=> true
False
isObject(function () {});
//=> false
isObject(1);
//=> false
isObject([]);
//=> false
isObject(null);
//=> false
Author
Jon Schlinkert
License
Copyright (c) 2015 Jon Schlinkert
Released under the MIT license
This file was generated by verb on February 25, 2015.