Skip to main content
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.32.1/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.