Skip to main content
Module

x/valibot/mod.ts>BaseValidationAsync

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
interface BaseValidationAsync
Re-export
import { type BaseValidationAsync } from "https://deno.land/x/valibot@v0.30.0/mod.ts";

Base validation async type.

Type Parameters

optional
TInput = any

Properties

type: string

The validation type.

expects: string | null

The expected property.

message: ErrorMessage | undefined

The error message.

async: true

Whether it's async.

requirement: unknown

The validation requirement.

Methods

_parse(input: TInput): Promise<PipeActionResult<TInput>>

Parses unknown input based on its requirement.