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

isNonNegativeNumber

import { isNonNegativeNumber } from "https://raw.githubusercontent.com/i-xi-dev/number.es/6.0.0/src/main.ts";

Determines whether the test is a non-negative number.

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

§Parameters

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

§Return Type

§
boolean
[src]

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