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

SafeInteger.isNonNegative

import { SafeInteger } from "https://raw.githubusercontent.com/i-xi-dev/bytes.es/4.1.10/deps.ts"; 

const { isNonNegative } = SafeInteger;

Determines whether the passed value is a non-negative safe integer.

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

§Parameters

§
test: unknown
[src]

§Return Type

§
boolean
[src]

Whether the passed value is a non-negative safe integer.