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

x/valibot/src/actions/transform/index.ts>TransformAction

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

Transform action type.

Type Parameters

TInput
TOutput

Properties

readonly
type: "transform"

The action type.

readonly
reference: transform

The action reference.

readonly
operation: (input: TInput) => TOutput

The transformation operation.