Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/typeguardkit/core/number_asserter.ts

A TypeScript module to help construct type assertion functions and type guards.
Go to Latest
import * as typeguardkit from "https://deno.land/x/typeguardkit@0.32.1/core/number_asserter.ts";

Classes

A NumberAsserter is an Asserter<number>, with any additional constraints defined by its NumberAsserterOptions properties.

Interfaces

A NumberAsserterBound can be assigned to the min and max NumberAsserterOptions.

NumberAsserterOptions are passed to the NumberAsserter constructor.

NumberAsserterRules can be assigned to the NumberAsserterOptions rules property.