Optionalparams: Optionalabort?: booleanOptionalerror?: string | $ZodErrorMap<NonNullable<$ZodIssue>>Optionalmessage?: stringOptionalparams?: Record<string, any>Optionalpath?: PropertyKey[]Optionalwhen?: (payload: ParsePayload) => booleanIf provided, the check runs only when this returns true. By default, it is skipped if prior parsing produced aborting issues.
If true, no later checks will be executed if this check fails. Default
false.