Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

NumberEx.isPositiveNumber

import { NumberEx } from "https://raw.githubusercontent.com/i-xi-dev/string.es/6.0.5/deps.ts"; 

const { isPositiveNumber } = NumberEx;

Determines whether the test is a positive number.

function isPositiveNumber(test: unknown): boolean;
§
isPositiveNumber(test: unknown): boolean
[src]

§Parameters

§
test: unknown
[src]
  • The value to be tested

§Return Type

§
boolean
[src]

Whether the test is a positive number. (positive finite or positive infinity)