Package Exports
- is-pure-object
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-pure-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-pure-object
A simple function that checks whether an object is actually a pure object.
const isObject = require('is-pure-object')
isObject({a: 1}) // true
isObject({}) // true
isObject({a: ['foo']}) // true
isObject(null) // false
isObject('foo') // false
isObject(['foo', 'bar']) // false
isObject(function() {}) // falseInstallation
npm install --save is-pure-objectTest
npm testLicense
MIT