Skip to main content
Module

x/valibot/mod.ts>BytesValidation

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

Bytes validation type.

Type Parameters

TInput extends string
TRequirement extends number

Properties

type: "bytes"

The validation type.

requirement: TRequirement

The byte length.