qnan-enumerator
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

Quiet NaN Enumerator

Enumerate quiet NaN values.

Features

Get the ID assigned to NaN value / Get NaN value by ID

Installation

npm install qnan-enumerator

Usage

import QNanEnumerator from "qnan-enumerator";

const enumerator = new QNanEnumerator();

const nan = enumerator.getNan(125);  // get NaN value with ID 125
const id = enumerator.getId(nan);    // get the ID of NaN value

console.log(id === 125);  // true

Readme

Keywords

Package Sidebar

Install

npm i qnan-enumerator

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

7.35 kB

Total Files

7

Last publish

Collaborators

  • megpunyu