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

x/valibot/src/schemas/index.ts>SetSchemaAsync

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

Set schema async type.

Type Parameters

TValue extends BaseSchema | BaseSchemaAsync
optional
TOutput = SetOutput<TValue>

Properties

type: "set"

The schema type.

value: TValue

The set value schema.

message: ErrorMessage | undefined

The error message.

pipe: PipeAsync<SetOutput<TValue>> | undefined

The validation and transformation pipeline.