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

x/alloy_folk/deps.ts>Prompt.Secret#validate

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

Validate input value.

Parameters

value: string

User input value.

Returns

boolean | string

True on success, false or error message on error.