Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/valibot/src/actions/findItem/findItem.ts>findItem

The modular and type safe schema library for validating structural data 🤖
Latest
function findItem
import { findItem } from "https://deno.land/x/valibot@v1.0.0-beta.7/src/actions/findItem/findItem.ts";

Creates a find item transformation action.

Type Parameters

TInput extends ArrayInput
TOuput extends TInput[number]

Parameters

operation: ArrayRequirement<TInput, TOuput>

The find item operation.

Returns

A find item action.