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

x/typeguardkit/core/string_asserter.ts

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

Classes

A StringAsserter is an Asserter<string>, with any additional constraints defined by its StringAsserterOptions properties.

Interfaces

StringAsserterOptions are passed to the StringAsserter constructor.

A StringAsserterRegex can be assigned to the StringAsserterOptions regex property.

StringAsserterRules can be assigned to the StringAsserterOptions rules property.