MCPcopy
hub / github.com/colinhacks/zod / startsWith

Method startsWith

packages/zod/src/v4/classic/schemas.ts:378–378  ·  view source on GitHub ↗
(value: string, params?: string | core.$ZodCheckStartsWithParams)

Source from the content-addressed store, hash-verified

376 regex(regex: RegExp, params?: string | core.$ZodCheckRegexParams): this;
377 includes(value: string, params?: string | core.$ZodCheckIncludesParams): this;
378 startsWith(value: string, params?: string | core.$ZodCheckStartsWithParams): this;
379 endsWith(value: string, params?: string | core.$ZodCheckEndsWithParams): this;
380 min(minLength: number, params?: string | core.$ZodCheckMinLengthParams): this;
381 max(maxLength: number, params?: string | core.$ZodCheckMaxLengthParams): this;

Callers 15

GETFunction · 0.65
extractTabsBlocksFunction · 0.65
stripMdxCommentsFunction · 0.65
readCodeFenceFunction · 0.65
_parseMethod · 0.65
string.test.tsFile · 0.65
resolveRefFunction · 0.65
string.test.tsFile · 0.65

Calls

no outgoing calls

Tested by 3

extractTabsBlocksFunction · 0.52
stripMdxCommentsFunction · 0.52
readCodeFenceFunction · 0.52