mirror of
https://github.com/musix-org/musix-oss
synced 2024-11-14 03:30:18 +00:00
559 B
559 B
number-is-nan
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