Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/valibot/mod.ts>ReduceItemsAction

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Latest
interface ReduceItemsAction
implements BaseTransformation<TInput, TOutput, never>
import { type ReduceItemsAction } from "https://deno.land/x/valibot@v0.35.0/mod.ts";

Reduce items action type.

Type Parameters

TInput extends readonly unknown[]
TOutput

Properties

readonly
type: "reduce_items"

The action type.

readonly
reference: reduceItems

The action reference.

readonly
operation: ArrayAction<TInput, TOutput>

The reduce items operation.

readonly
initial: TOutput

The initial value.