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

x/valibot/mod.ts>MinLengthValidation

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

Min length validation type.

Type Parameters

TInput extends string | any[]
TRequirement extends number

Properties

type: "min_length"

The validation type.

requirement: TRequirement

The minimum length.