Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/valibot/src/index.ts>mapItems

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
function mapItems
import { mapItems } from "https://deno.land/x/valibot@v0.35.0/src/index.ts";

Creates a map items transformation action.

Type Parameters

TInput extends readonly unknown[]
TOutput

Parameters

operation: ArrayAction<TInput, TOutput>

The map items operation.

Returns

MapItemsAction<TInput, TOutput>

A map items action.