number-is-nan

ES2015 Number.isNaN() ponyfill


Keywords
es2015, ecmascript, ponyfill, polyfill, shim, number, is, nan, not
License
MIT
Install
npm install number-is-nan@1.0.1

Documentation

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