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

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

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

Custom validation type.

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