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

x/typeguardkit/mod.ts>StringAsserter#validate

A TypeScript module to help construct type assertion functions and type guards.
Latest
method StringAsserter.prototype.validate
import { StringAsserter } from "https://deno.land/x/typeguardkit@0.33.0/mod.ts";

Parameters

value: string

Returns

string[]