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

x/valibot/src/index.ts>FiniteValidation

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

Finite validation type.

Type Parameters

TInput extends number
definition: BaseValidation<TInput> & { type: "finite"; requirement: (input: TInput) => boolean; }