Module

x/zod/types.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.2/types.ts";

Parameters

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