# MapItemsAction

> This document is the Markdown version of [valibot.dev/api/MapItemsAction/](https://valibot.dev/api/MapItemsAction/). For the complete documentation index, see [llms.txt](https://valibot.dev/llms.txt).

Map items action interface.

## Generics

- `TInput` `extends ArrayInput`
- `TOutput` `extends any`

## Definition

- `MapItemsAction` `extends BaseTransformation<TInput, TOuput[], never>`
  - `type` `'map_items'`
  - `reference` `typeof mapItems`
  - `operation` `(item: TInput[number], index: number, array: TInput) => TOutput`
