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

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

🔥 Static site generator for Deno 🦕
Very Popular
Latest
method Confirm.prototype.validate
import { Confirm } from "https://deno.land/x/lume@v2.4.1/deps/cliffy.ts";

Validate input value.

Parameters

value: string

User input value.

Returns

boolean | string

True on success, false or error message on error.