@lamansky/is-number
v1.0.0
Published
Returns true if a value is a number and not NaN.
Downloads
19
Readme
is-number
Returns true if a value is a number and not NaN.
module.exports = x => typeof x === 'number' && !Number.isNaN(x)
Installation
Requires Node.js 4.0.0 or above.
npm i @lamansky/is-number
Related
For more modules like this, check out @lamansky/is.