Skip to main content
Module

x/valibot/mod.ts>MaxBytesValidation

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

Max bytes validation type.

Type Parameters

TInput extends string
TRequirement extends number

Properties

type: "max_bytes"

The validation type.

requirement: TRequirement

The maximum byte length.