JSPM

is-positive

3.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 22603
  • Score
    100M100P100Q127902F
  • License MIT

Check if something is a positive number

Package Exports

  • is-positive

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (is-positive) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

is-positive Build Status

Check if something is a positive number

Install

$ npm install --save is-positive

Usage

var isPositive = require('is-positive');

isPositive(1);
//=> true

isPositive(0);
//=> false

isPositive(-1);
//=> false

isPositive('1');
//=> false

License

MIT © Kevin Martensson