Skip to main content
Module

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

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
function transform
import { transform } from "https://deno.land/x/valibot@v0.35.0/src/actions/transform/transform.ts";

Creates a custom transformation action.

Type Parameters

TInput
TOutput

Parameters

operation: (input: TInput) => TOutput

The transformation operation.

Returns

A transform action.