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

x/hono/mod.ts>HonoRequest#valid

Fast, Lightweight, Web-standards
Extremely Popular
Go to Latest
method HonoRequest.prototype.valid
import { HonoRequest } from "https://deno.land/x/hono@v4.0.0-rc.3/mod.ts";

Type Parameters

T extends keyof I & keyof ValidationTargets

Parameters

target: T

Returns

InputToDataByTarget<I, T>