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

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

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

Validate input value.

Parameters

value: string

User input value.

Returns

boolean | string

True on success, false or error message on error.