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

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

The modular and type safe schema library for validating structural data 🤖
Go to Latest
type alias SpecialSchemaAsync
Re-export
import { type SpecialSchemaAsync } from "https://deno.land/x/valibot@v0.24.0/src/schemas/index.ts";

Special schema async type.

Type Parameters

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