shaata-positive
v1.0.1
Published
checks if a number is positive
Downloads
1
Readme
shaata-positive
This package imports a function to check if a number is positive or not.
Installation
npm install --save shaata-positive
Usage
var isPositive = require('shaata-positive');
console.log(isPositive(8)); // true
console.log(isPositive(-12)); // false
console.log(isPositive('any string')); // false