import { VBase } from "https://deno.land/x/hono@v2.5.5/validator/validator.ts";
Properties
asBoolean: () => VBoolean | VBooleanArray
asNumber: () => VNumber | VNumberArray
validate: <R extends Request>(req: R) => Promise<ValidateResult[]>
Methods
private
validateRule(rule: Rule, value: Type): ValidateResultprotected
getTypeRuleName(): stringaddRule(func: RuleFunc): this
addRule(name: string, func: RuleFunc): this
get(value: string)