@f/is-number
v1.1.1
Published
Check if a value is a number
Downloads
598
Readme
is-number
Check if a value is a number
Installation
$ npm install @f/is-number
Usage
var isNumber = require('@f/is-number')
isNumber(1)
isNumber(NaN)
!isNumber('test')
!isNumber('10')
API
isNumber(value)
value
- The value to be checked for numberness
Returns: Boolean value indicating whether or not value
is a number.
License
MIT