mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-01-23 01:40:10 +00:00
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