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

Method endsWith

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

Source from the content-addressed store, hash-verified

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;
382 length(len: number, params?: string | core.$ZodCheckLengthEqualsParams): this;

Callers 13

_parseMethod · 0.65
string.test.tsFile · 0.65
string.test.tsFile · 0.65
cleanRegexFunction · 0.65
schemas.tsFile · 0.65
checks.tsFile · 0.65
el.test.tsFile · 0.65
he.test.tsFile · 0.65
uz.test.tsFile · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected