• Preparing search index...
  • The search index is not available
Genkit JS API reference
  • Genkit JS API reference
  • genkit
  • /
  • z
  • effect

Function effect

  • effect<I extends z.ZodType<any, any, any, I>>(
        schema: I,
        effect: z.Effect<I["_output"]>,
        params?: z.RawCreateParams,
    ): z.ZodEffects<I, I["_output"], z.input<I>>
  • Type Parameters

    • I extends z.ZodType<any, any, any, I>

    Parameters

    • schema: I
    • effect: z.Effect<I["_output"]>
    • Optionalparams: z.RawCreateParams

    Returns z.ZodEffects<I, I["_output"], z.input<I>>

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

Settings

Member Visibility
Genkit JS API reference
  • Loading...

Generated using TypeDoc with typedoc-github-theme