Björn f184cd7e2a | 4 years ago | |
---|---|---|
.. | ||
index.js | 4 years ago | |
license | 4 years ago | |
package.json | 4 years ago | |
readme.md | 4 years ago |
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