Module

x/zod/index.ts>ZodString#includes

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
method ZodString.prototype.includes
import { ZodString } from "https://dotland.deno.dev/x/zod@v3.21.3/index.ts";

Parameters

value: string
optional
options: { message?: string; position?: number; }