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

SafeInteger

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

§Variables

SafeInteger.RoundingMode

§Functions

SafeInteger.fromBigInt
SafeInteger.fromNumber
SafeInteger.fromString
SafeInteger.isEven
SafeInteger.isNonNegative

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

SafeInteger.isOdd
SafeInteger.isPositive

Determines whether the passed value is a positive safe integer.

SafeInteger.round
SafeInteger.toBigInt
SafeInteger.toString

§Type Aliases

SafeInteger.FromOptions
SafeInteger.RoundingMode