ES2015 Number.isNaN() ponyfill
Switch branches/tags
Nothing to show
Clone or download
Latest commit c870217 Apr 8, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.editorconfig init May 20, 2015
.gitattributes init May 20, 2015
.gitignore init May 20, 2015
.jshintrc init May 20, 2015
.travis.yml init May 20, 2015
index.js Fix #6 Apr 8, 2018
license init May 20, 2015
package.json 1.0.1 Sep 30, 2016
readme.md link to ponyfill.com Sep 30, 2016
test.js update tests for latest AVA version Dec 31, 2015

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