Skip to main content
Module

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

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
method Input.prototype.validate
import { Input } from "https://deno.land/x/lume@v2.1.4/deps/cliffy.ts";

Validate input value.

Parameters

value: string

User input value.

Returns

boolean | string

True on success, false or error message on error.