Skip to main content
Module

x/valibot/mod.ts>SetSchema

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
type alias SetSchema
Re-export
import { type SetSchema } from "https://deno.land/x/valibot@v0.28.1/mod.ts";

Set schema type.

Type Parameters

TValue extends BaseSchema
optional
TOutput = SetOutput<TValue>
definition: BaseSchema<SetInput<TValue>, TOutput> & { type: "set"; value: TValue; message: ErrorMessage | undefined; pipe: Pipe<SetOutput<TValue>> | undefined; }