Skip to main content
Deno 2 is finally 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.1.0/mod.ts";

Type Parameters

T extends keyof I & keyof ValidationTargets

Parameters

target: T

Returns

InputToDataByTarget<I, T>