Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/zod/index.ts>z.ZodString#startsWith

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
method z.ZodString.prototype.startsWith
import { z } from "https://deno.land/x/zod@v3.21.1/index.ts";
const { ZodString } = z;

Parameters

value: string
optional
message: errorUtil.ErrMessage