Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/valibot/src/schemas/string/string.ts>StringSchema

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
type alias StringSchema
import { type StringSchema } from "https://deno.land/x/valibot@v0.22.0/src/schemas/string/string.ts";

String schema type.

Type Parameters

optional
TOutput = string
definition: BaseSchema<string, TOutput> & { type: "string"; message: ErrorMessage; pipe: Pipe<string> | undefined; }