Skip to main content
Module

x/valibot/mod.ts>SpecialSchemaAsync

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

Special schema async type.

Type Parameters

TInput
optional
TOutput = TInput

Properties

type: "special"

The schema type.

check: (input: unknown) => boolean | Promise<boolean>

The type check function.

message: ErrorMessage | undefined

The error message.

pipe: PipeAsync<TInput> | undefined

The validation and transformation pipeline.