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

x/cliffy/prompt/toggle.ts>Toggle#transform

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

Map input value to output value.

Parameters

value: string

Input value.

Returns

boolean | undefined

Output value.