githubEdit

isobject

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

Install

Install with npmarrow-up-right:

$ npm install --save isobject

Install with yarnarrow-up-right:

$ yarn add isobject

Use is-plain-objectarrow-up-right if you want only objects that are created by the Object constructor.

Install

Install with npmarrow-up-right:

$ npm install isobject

Install with bowerarrow-up-right

$ bower install isobject

Usage

var isObject = require('isobject');

True

All of the following return true:

False

All of the following return false:

About

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issuearrow-up-right.

Contributors

Building docs

(This project's readme.md is generated by verbarrow-up-right, please don't edit the readme directly. Any changes to the readme must be made in the .verb.mdarrow-up-right readme template.)

To generate the readme, run the following command:

Running tests

Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:

Author

Jon Schlinkert

License

Copyright © 2017, Jon Schlinkertarrow-up-right. Released under the MIT Licensearrow-up-right.


This file was generated by verb-generate-readmearrow-up-right, v0.6.0, on June 30, 2017.

Last updated