Returns the input type of a Zod transform schema, for both v3 and v4.
If the schema is not a transform, returns undefined. If recursive is true,
recursively processes nested object schemas and arrays of object schemas.
interopZodTransformInputSchema(schema: InteropZodType, recursive: boolean = false): InteropZodType| Name | Type | Description |
|---|---|---|
schema* | InteropZodType | The Zod schema instance (v3 or v4) |
recursive | boolean | Default: falseWhether to recursively process nested objects/arrays. |