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
ZodType
<
any
,
any
,
any
,
Key
>
=
ZodTypeAny
,
Value
extends
ZodType
<
any
,
any
,
any
,
Value
>
=
ZodTypeAny
,
>
(
keyType
:
Key
,
valueType
:
Value
,
params
?:
RawCreateParams
,
)
:
ZodMap
<
Key
,
Value
>
Type Parameters
Key
extends
ZodType
<
any
,
any
,
any
,
Key
>
=
ZodTypeAny
Value
extends
ZodType
<
any
,
any
,
any
,
Value
>
=
ZodTypeAny
Parameters
keyType
:
Key
valueType
:
Value
Optional
params
:
RawCreateParams
Returns
ZodMap
<
Key
,
Value
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Genkit JS API reference
Loading...