work.suroh.tk/node_modules/number-is-nan
suroh 410082595a init 11ty commit 2019-12-02 13:22:45 +01:00
..
index.js init 11ty commit 2019-12-02 13:22:45 +01:00
license init 11ty commit 2019-12-02 13:22:45 +01:00
package.json init 11ty commit 2019-12-02 13:22:45 +01:00
readme.md init 11ty commit 2019-12-02 13:22:45 +01:00

readme.md

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