Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/alloy_folk/deps.ts>Prompt.List#validate

An application installer for restriced macOS
Go to Latest
method Prompt.List.prototype.validate
import { Prompt } from "https://deno.land/x/alloy_folk@v1.1.1/deps.ts";
const { List } = Prompt;

Validate input value.

Parameters

value: string

User input value.

Returns

boolean | string

True on success, false or error message on error.