Module

x/zod/types.ts>ZodString#startsWith

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

Parameters

value: string
optional
message: errorUtil.ErrMessage