Readonly_defReadonly_inputReadonly_outputReadonly_typeOptionalctx: z.ParseContextOptionalbrand: BOptionalparams: Partial<z.ParseParams>Optionalparams: Partial<z.ParseParams>Optionalparams: Partial<z.ParseParams>Optionalparams: Partial<z.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: z.RawCreateParams
Alias of safeParseAsync