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

x/valibot/src/actions/findItem/index.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.5/src/actions/findItem/index.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.