Optionalparams: Optionalabort?: booleanOptionalerror?: Optionalmessage?: stringOptionalwhen?: (payload: ParsePayload) => booleanIf provided, this check will only be executed if the function returns true. Defaults to payload => z.util.isAborted(payload).
If true, no later checks will be executed if this check fails. Default
false.