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

x/valibot/mod.ts>MaxSizeValidation

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

Max size validation type.

Type Parameters

TInput extends Map<any, any> | Set<any> | Blob
TRequirement extends number

Properties

type: "max_size"

The validation type.

requirement: TRequirement

The maximum size.