Retrieves the shape (fields) of a Zod object schema, supporting both Zod v3 and v4.
getInteropZodObjectShape<T extends InteropZodObject>(schema: T): InteropZodObjectShape<T>| Name | Type | Description |
|---|---|---|
schema* | T | The Zod object schema instance (either v3 or v4). |