ES2015 `Number.isNaN()` ponyfill
$ gnpm install number-is-nan
ES2015
Number.isNaN()
ponyfill
$ npm install number-is-nan
const numberIsNan = require('number-is-nan');
numberIsNan(NaN);
//=> true
numberIsNan('unicorn');
//=> false
Copyright 2013 - present © cnpmjs.org | Home |