Package Exports
- is-plain-object
- is-plain-object/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 (is-plain-object) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
is-plain-object 
Return
true
if the givenvalue
is an object created by theObject
constructor.
Install
npm
npm i is-plain-object --save
Run tests
npm test
Usage
var isPlainObject = require('is-plain-object');
isPlainObject(1);
//=> false
isPlainObject(['foo', 'bar']);
//=> false
isPlainObject([]);
//=> false
isPlainObject(new Foo);
//=> false
isPlainObject(null);
//=> false
isPlainObject(Object.create(null));
//=> false
isPlainObject(Object.create({}));
//=> true
isPlainObject({foo: 'bar'});
//=> true
isPlainObject({});
//=> true
Author
Jon Schlinkert
License
Copyright (c) 2014 Jon Schlinkert, contributors.
Released under the MIT license
This file was generated by verb-cli on September 21, 2014.