number-is-nan
ES2015
Number.isNaN()
ponyfill
Install
$ npm install --save number-is-nan
Usage
var numberIsNan = require('number-is-nan');
numberIsNan(NaN);
//=> true
numberIsNan('unicorn');
//=> false
License
MIT © Sindre Sorhus
Name |
Last Commit
4ba22e05
–
8
|
History
|
Last Update |
---|---|---|
.. | ||
index.js | Loading commit data... | |
license | Loading commit data... | |
package.json | Loading commit data... | |
readme.md | Loading commit data... |
ES2015
Number.isNaN()
ponyfill
$ npm install --save number-is-nan
var numberIsNan = require('number-is-nan');
numberIsNan(NaN);
//=> true
numberIsNan('unicorn');
//=> false
MIT © Sindre Sorhus