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

x/valibot/mod.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/mod.ts";

Custom validation type.

Properties

type: "custom"

The validation type.

requirement: (input: TInput) => boolean

The validation function.