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

x/valibot/mod.ts>SizeValidation

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

Size validation type.

Type Parameters

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

Properties

type: "size"

The validation type.

requirement: TRequirement

The size.