wishthis/node_modules/number-is-nan/readme.md
2022-01-21 09:28:41 +01:00

559 B

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