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

Function map

  • map<
        Key extends z.ZodType<any, any, any, Key> = z.ZodTypeAny,
        Value extends z.ZodType<any, any, any, Value> = z.ZodTypeAny,
    >(
        keyType: Key,
        valueType: Value,
        params?: z.RawCreateParams,
    ): z.ZodMap<Key, Value>
  • Type Parameters

    • Key extends z.ZodType<any, any, any, Key> = z.ZodTypeAny
    • Value extends z.ZodType<any, any, any, Value> = z.ZodTypeAny

    Parameters

    • keyType: Key
    • valueType: Value
    • Optionalparams: z.RawCreateParams

    Returns z.ZodMap<Key, Value>

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

Settings

Member Visibility
Genkit JS API reference
  • Loading...

Generated using TypeDoc with typedoc-github-theme