mirror of
https://github.com/thangisme/notes.git
synced 2024-10-31 21:07:23 -04:00
.. | ||
index.js | ||
license | ||
package.json | ||
readme.md |
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