Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/valibot/mod.ts>CustomSchema

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Latest
interface CustomSchema
import { type CustomSchema } from "https://deno.land/x/valibot@v0.35.0/mod.ts";

Custom schema type.

Type Parameters

TInput
TMessage extends ErrorMessage<CustomIssue> | undefined

Properties

readonly
type: "custom"

The schema type.

readonly
reference: custom

The schema reference.

readonly
expects: "unknown"

The expected property.

readonly
check: Check

The type check function.

readonly
message: TMessage

The error message.