number-is-nan

ES2015 `Number.isNaN()` ponyfill

MIT 4 个版本
安装
npm install number-is-nan
yarn add number-is-nan
pnpm add number-is-nan
bun add number-is-nan
README

number-is-nan

ES2015 Number.isNaN() ponyfill

Install

$ npm install number-is-nan

Usage

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

numberIsNan(NaN);
//=> true

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

Get professional support for this package with a Tidelift subscription
Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies.
版本列表
3.0.0 2021-04-07
2.0.0 2020-02-07
1.0.1 2016-09-30
1.0.0 2015-05-20