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

Method rest

packages/zod/src/v4/classic/schemas.ts:1669–1669  ·  view source on GitHub ↗
(rest: Rest)

Source from the content-addressed store, hash-verified

1667 core.$ZodTuple<T, Rest> {
1668 "~standard": ZodStandardSchemaWithJSON<this>;
1669 rest<Rest extends core.SomeType = core.$ZodType>(rest: Rest): ZodTuple<T, Rest>;
1670}
1671export const ZodTuple: core.$constructor<ZodTuple> = /*@__PURE__*/ core.$constructor("ZodTuple", (inst, def) => {
1672 core.$ZodTuple.init(inst, def);

Callers 6

argsMethod · 0.65
createMethod · 0.65
tuple.test.tsFile · 0.65
convertBaseSchemaFunction · 0.65
tuple.test.tsFile · 0.65

Implementers 1

ZodTuplepackages/zod/src/v3/types.ts

Calls

no outgoing calls

Tested by

no test coverage detected