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

x/valibot/src/schemas/special/special.ts>SpecialSchema

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

Special schema type.

Type Parameters

TInput
optional
TOutput = TInput
definition: BaseSchema<TInput, TOutput> & { type: "special"; check: (input: unknown) => boolean; message: ErrorMessage | undefined; pipe: Pipe<TInput> | undefined; }