Website/node_modules/number-is-nan/readme.md

597 B

number-is-nan Build Status

ES6 Number.isNaN() ponyfill

Ponyfill: A polyfill that doesn't overwrite the native method

Install

$ npm install --save number-is-nan

Usage

var numberIsNan = require('number-is-nan');

numberIsNan(NaN);
//=> true

numberIsNan('unicorn');
//=> false

License

MIT © Sindre Sorhus