Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/valibot/src/validations/size/index.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.22.0/src/validations/size/index.ts";

Size validation type.

Type Parameters

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