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

x/valibot/mod.ts>SizeValidation

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

Size validation type.

Type Parameters

TInput extends Map<any, any> | Set<any> | Blob
TRequirement extends number
definition: BaseValidation<TInput> & { type: "size"; requirement: TRequirement; }