Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/valibot/mod.ts>StringSchema

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Latest
interface StringSchema
implements BaseSchema<string, string, StringIssue>
import { type StringSchema } from "https://deno.land/x/valibot@v0.35.0/mod.ts";

String schema type.

Type Parameters

TMessage extends ErrorMessage<StringIssue> | undefined

Properties

readonly
type: "string"

The schema type.

readonly
reference: string

The schema reference.

readonly
expects: "string"

The expected property.

readonly
message: TMessage

The error message.