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

x/valibot/src/index.ts>MinBytesValidation

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

Min bytes validation type.

Type Parameters

TInput extends string
TRequirement extends number

Properties

type: "min_bytes"

The validation type.

requirement: TRequirement

The minimum byte length.