README.md 778 B

isobject NPM version

Returns true if the value is an object and not an array or null.

Install

Install with npm:

npm i isobject --save

Usage

var isObject = require('isobject');
console.log(isObject(null));
//=> 'false'
console.log(isObject([]));
//=> 'false'
console.log(isObject({}));
//=> '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 22, 2014.