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

x/valibot/src/validations/notBytes/index.ts>NotBytesValidation

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

Not bytes validation type.

Type Parameters

TInput extends string
TRequirement extends number

Properties

type: "not_bytes"

The validation type.

requirement: TRequirement

The byte length.