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

x/cliffy/prompt/mod.ts>GenericPrompt#transform

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
method GenericPrompt.prototype.transform
Re-export
import { GenericPrompt } from "https://deno.land/x/cliffy@v0.19.1/prompt/mod.ts";

Map input value to output value.

Parameters

value: V

Input value.

Returns

T | undefined

Output value.