• Preparing search index...
  • The search index is not available
Genkit JS API reference
  • Genkit JS API reference
  • genkit
  • /
  • 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
    • Optionalparams: z.RawCreateParams

    Returns z.ZodUnion<T>

    • Defined in js/node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/types.d.ts:1058

Settings

Member Visibility
Genkit JS API reference
  • Loading...

Generated using TypeDoc with typedoc-github-theme