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

x/lume/deps/cliffy.ts>GenericPrompt#validate

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
method GenericPrompt.prototype.validate
Re-export
import { GenericPrompt } from "https://deno.land/x/lume@v1.17.2/deps/cliffy.ts";

Validate input value.

Parameters

value: TRawValue

User input value.

Returns

True on success, false or error message on error.