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

x/valibot/src/validations/custom/custom.ts>CustomValidation

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
type alias CustomValidation
import { type CustomValidation } from "https://deno.land/x/valibot@v0.28.1/src/validations/custom/custom.ts";

Custom validation type.

definition: BaseValidation<TInput> & { type: "custom"; requirement: (input: TInput) => boolean; }