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 🤖
Go to Latest
type alias SpecialSchema
import { type SpecialSchema } from "https://deno.land/x/valibot@v0.24.0/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; pipe: Pipe<TInput> | undefined; }