Skip to main content
Module

x/valibot/mod.ts>RegexValidation

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
type alias RegexValidation
import { type RegexValidation } from "https://deno.land/x/valibot@v0.26.0/mod.ts";

Regex validation type.

Type Parameters

TInput extends string
definition: BaseValidation<TInput> & { type: "regex"; requirement: RegExp; }