method GenericPrompt.prototype.validateimport { GenericPrompt } from "https://dotland.deno.dev/x/cliffy@v0.25.7/prompt/mod.ts"; validate(value: TRawValue): ValidateResultValidate input value. Validate input value. Parametersvalue: TRawValueUser input value. ReturnsValidateResultTrue on success, false or error message on error.