Interface: $ZodSuperRefineParams
Defined in: packages/agentos/node_modules/zod/v4/core/api.d.cts:302
Properties
when()?
optionalwhen: (payload) =>boolean
Defined in: packages/agentos/node_modules/zod/v4/core/api.d.cts:304
If provided, the refinement runs only when this returns true. By default, it is skipped if prior parsing produced aborting issues.
Parameters
payload
Returns
boolean