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

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

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

Custom validation async type.

Properties

type: "custom"

The validation type.

requirement: (input: TInput) => Promise<boolean>

The validation function.