Skip to main content
Module

x/hono/request.ts>HonoRequest#valid

Ultrafast web framework for the Edge
Extremely Popular
Go to Latest
method HonoRequest.prototype.valid
import { HonoRequest } from "https://deno.land/x/hono@v3.0.1/request.ts";

Type Parameters

optional
T extends keyof ValidationTargets = I extends Record<infer R, unknown> ? R extends keyof ValidationTargets ? R : never : never

Parameters

target: T

Returns

never