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
interface CustomValidation
implements BaseValidation<TInput>
import { type CustomValidation } from "https://deno.land/x/valibot@v0.30.0/src/validations/custom/custom.ts";

Custom validation type.

Properties

type: "custom"

The validation type.

requirement: (input: TInput) => boolean

The validation function.