UNPKG

negative-infinity

Version:

Check if a number given is negative Infinity or not.

16 lines (11 loc) 287 B
# negative-infinity Check if a number is negative infinity. # How to use ``` npm i -S negative-infinity const negativeInfinity = require('negative-infinity'); negativeInfinity.check(19); // false negativeInfinity.check(-Infinity); // true ``` # License GNU GPL v3.0