sfcode
An Online Competing and Development Environment
|
Returns true if a value is a plain object, array or function.
Install with npm:
Returns true if the value is any of the following:
All objects in JavaScript can have keys, but it's a pain to check for this, since we ether need to verify that the value is not null
or undefined
and:
Also note that an extendable
object is not the same as an extensible object, which is one that (in es6) is not sealed, frozen, or marked as non-extensible using preventExtensions
.
Breaking changes
Object
constructor. | homepagePull requests and stars are always welcome. For bugs and feature requests, please create an issue.
_(This project's readme.md is generated by verb, please don't edit the readme directly. Any changes to the readme must be made in the .verb.md readme template.)_
To generate the readme, run the following command:
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:
Jon Schlinkert
Copyright © 2017, Jon Schlinkert. Released under the [MIT License](LICENSE).
This file was generated by verb-generate-readme, v0.6.0, on July 20, 2017.