Preparing search index...
The search index is not available
Genkit JS API reference
Genkit JS API reference
@genkit-ai/next
z
union
Function union
union
<
T
extends
readonly
[
z
.
ZodTypeAny
,
z
.
ZodTypeAny
,
z
.
ZodTypeAny
,
T
]
>
(
types
:
T
,
params
?:
z
.
RawCreateParams
,
)
:
z
.
ZodUnion
<
T
>
Type Parameters
T
extends
readonly
[
z
.
ZodTypeAny
,
z
.
ZodTypeAny
,
z
.
ZodTypeAny
,
T
]
Parameters
types
:
T
Optional
params
:
z
.
RawCreateParams
Returns
z
.
ZodUnion
<
T
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Genkit JS API reference
Loading...