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

x/typeguardkit/asserters/mod.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/asserters/mod.ts";

Variables

_boolean is a TypeAsserter<boolean>.

_Integer is an integer NumberAsserter.

_NonNegativeInteger is a non-negative integer NumberAsserter.

_NonNegativeNumber is a non-negative NumberAsserter.

_null is a TypeAsserter<null>.

_number is a TypeAsserter<number>.

_PositiveInteger is a positive integer NumberAsserter.

_PositiveNumber is a positive NumberAsserter.

_string is a TypeAsserter<string>.

_undefined is a TypeAsserter<undefined>.