Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

z.map

import { z } from "https://esm.sh/zod@3.25.76/index.d.cts"; 

const { map } = z;
const map: <KeySchema extends ZodTypeAny = ZodTypeAny, ValueSchema extends ZodTypeAny = ZodTypeAny>(
keyType: KeySchema,
valueType: ValueSchema,
params?: RawCreateParams,
) => ZodMap<KeySchema, ValueSchema>
;