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

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

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
interface SpecialSchema
implements BaseSchema<TInput, TOutput>
import { type SpecialSchema } from "https://deno.land/x/valibot@v0.30.0/src/schemas/special/index.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.