documentit/node_modules/number-is-nan
2018-01-05 10:48:13 -08:00
..
index.js installed electron 2018-01-05 10:48:13 -08:00
license installed electron 2018-01-05 10:48:13 -08:00
package.json installed electron 2018-01-05 10:48:13 -08:00
readme.md installed electron 2018-01-05 10:48:13 -08:00

number-is-nan Build Status

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