Skip to main content
Module

x/zod/external.ts>ZodString#regex

TypeScript-first schema validation with static type inference
Extremely Popular
Latest
method ZodString.prototype.regex
import { ZodString } from "https://deno.land/x/zod@v3.23.8/external.ts";

Parameters

regex: RegExp
optional
message: errorUtil.ErrMessage