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

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

The modular and type safe schema library for validating structural data 🤖
Latest
interface FindItemAction
implements BaseTransformation<TInput, TOuput | undefined, never>
import { type FindItemAction } from "https://deno.land/x/valibot@v1.0.0-beta.7/src/actions/findItem/findItem.ts";

Find item action type.

Type Parameters

TInput extends ArrayInput
TOuput extends TInput[number]

Properties

readonly
type: "find_item"

The action type.

readonly
reference: findItem

The action reference.

readonly
operation: ArrayRequirement<TInput, TOuput>

The find item operation.