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

x/valibot/mod.ts>SpecialSchema

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

Special schema type.

Type Parameters

TInput
optional
TOutput = TInput

Properties

type: "special"

The schema type.

check: (input: unknown) => boolean

The type check function.

message: ErrorMessage | undefined

The error message.

pipe: Pipe<TInput> | undefined

The validation and transformation pipeline.