Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

readme.md

positive-zero Build Status

Check if a number is positive zero

Install

$ npm install positive-zero

Usage

const positiveZero = require('positive-zero');

positiveZero(0);
//=> true

positiveZero(+0);
//=> true

positiveZero(-0);
//=> false

Related

License

MIT © Sindre Sorhus

You can’t perform that action at this time.