num-sign

0.0.1 • Public • Published

num-sign Build Status

test num is positive or negative

Install

$ npm install num-sign --save

Usage

var numSign = require('num-sign');
 
console.log(numSign.isPositive(1));
 
console.log(numSign.isPositive(-1));
 
console.log(numSign.isNegative(1));
 
console.log(numSign.isNegative(1));
 

License

MIT © Stern

Package Sidebar

Install

npm i num-sign

Weekly Downloads

1

Version

0.0.1

License

MIT

Last publish

Collaborators

  • sternzhang