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

x/alloy/deps.ts>cliffy.Secret#validate

An application installer for restriced macOS
Latest
method cliffy.Secret.prototype.validate
import { cliffy } from "https://deno.land/x/alloy@v0.0.9/deps.ts";
const { Secret } = cliffy;

Validate input value.

Parameters

value: string

User input value.

Returns

boolean | string

True on success, false or error message on error.