@dan73/is-positive
v1.0.1
Published
Is the given number is positive ?
Downloads
11
Readme
first-npm-package
Check if the given number is positive
Installation
$ npm install @dan73/is-positive
or
$ yarn add @dan73/is-positive
Usage
You need to import isPositiveNumber
from @dan73/is-positive
import { isPositiveNumber } from "@dan73/is-positive";
console.log(isPositiveNumber(-40)); // false
Keywords
- typescript
- positive
- number