Skip to main content
Module

x/cliffy/prompt/select.ts>Select#validate

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Latest
method Select.prototype.validate
import { Select } from "https://deno.land/x/cliffy@v1.0.0-rc.4/prompt/select.ts";

Validate input value.

Parameters

value: TValue

User input value.

Returns

boolean | string

True on success, false or error message on error.