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

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

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
type alias SpecialSchema
Re-export
import { type SpecialSchema } from "https://deno.land/x/valibot@v0.28.1/src/schemas/index.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; }