Readonly_defReadonly_inputReadonly_outputReadonly_typeOptionalctx: ParseContextOptionalbrand: BOptionalparams: InexactPartial<ParseParams>Optionalparams: InexactPartial<ParseParams>Optionalmessage: string | Partial<Omit<ZodCustomIssue, "code">> | ((arg: output<Options[number]>) => Partial<Omit<ZodCustomIssue, "code">>)Optionalmessage: string | Partial<Omit<ZodCustomIssue, "code">> | ((arg: output<Options[number]>) => Partial<Omit<ZodCustomIssue, "code">>)Optionalparams: InexactPartial<ParseParams>Optionalparams: InexactPartial<ParseParams>StaticcreateThe constructor of the discriminated union schema. Its behaviour is very similar to that of the normal z.union() constructor. However, it only allows a union of objects, all of which need to share a discriminator property. This property must have a different value for each object in the union.
the name of the discriminator property
Optionalparams: RawCreateParams
Alias of safeParseAsync