Function: input()
Defined in: packages/agentos/node_modules/zod/v4/classic/in-out.d.cts:6
Returns a copy of the schema with every pipe replaced by its input side. A codec's checks are dropped: they constrain the decoded value the input side never produces.
Type Parameters
T
T extends $ZodType<unknown, unknown, $ZodTypeInternals<unknown, unknown>>
Parameters
schema
T