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

x/opinecli/deps.ts>Confirm#validate

Opine's application generator
Latest
method Confirm.prototype.validate
import { Confirm } from "https://deno.land/x/opinecli@2.0.0/deps.ts";

Validate input value.

Parameters

value: string

User input value.

Returns

boolean | string

True on success, false or error message on error.