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

x/valibot/src/schemas/string/index.ts>StringSchemaAsync

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
interface StringSchemaAsync
implements BaseSchemaAsync<string, TOutput>
import { type StringSchemaAsync } from "https://deno.land/x/valibot@v0.30.0/src/schemas/string/index.ts";

String schema async type.

Type Parameters

optional
TOutput = string

Properties

type: "string"

The schema type.

message: ErrorMessage | undefined

The error message.

pipe: PipeAsync<string> | undefined

The validation and transformation pipeline.