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

x/valibot/src/validations/maxBytes/maxBytes.ts>MaxBytesValidation

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

Max bytes validation type.

Type Parameters

TInput extends string
TRequirement extends number
definition: BaseValidation<TInput> & { type: "max_bytes"; requirement: TRequirement; }