is-number
Returns true if the value is a number. comprehensive tests.
Install
Install with npm:
Usage
To understand some of the rationale behind the decisions made in this library (and to learn about some oddities of number evaluation in JavaScript), see this gist.
true
See the tests for more examples.
False
See the tests for more examples.
About
Related projects
is-primitive: Returns
true
if the value is a primitive. | homepage
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Building docs
(This document was generated by verb-generate-readme (a verb generator), please don't edit the readme directly. Any changes to the readme must be made in .verb.md.)
To generate the readme and API documentation with verb:
Running tests
Install dev dependencies:
Author
Jon Schlinkert
License
Copyright © 2016, Jon Schlinkert. Released under the MIT license.
This file was generated by verb-generate-readme, v0.1.30, on September 10, 2016.
Last updated