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

x/alloy_folk/deps.ts>cliffy.Input#validate

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

Validate input value.

Parameters

value: string

User input value.

Returns

boolean | string

True on success, false or error message on error.