Package Exports
- @f/is-number
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@f/is-number) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
is-number
Check if a value is a number
Installation
$ npm install @f/is-numberUsage
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