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

x/valibot/src/index.ts>ValueValidation

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

Value validation type.

Type Parameters

TInput extends
| string
| number
| bigint
| boolean
| Date
TRequirement extends TInput

Properties

type: "value"

The validation type.

requirement: TRequirement

The value.