Module

x/hono/mod.ts>HonoRequest#param

Ultrafast web framework for the Edges
Extremely Popular
Go to Latest
method HonoRequest.prototype.param
import { HonoRequest } from "https://dotland.deno.dev/x/hono@v3.6.1/mod.ts";

Type Parameters

optional
P2 extends string = P

Parameters

key: RemoveQuestion<ParamKeys<P2>>

Returns

UndefinedIfHavingQuestion<ParamKeys<P2>>

Type Parameters

optional
P2 extends string = P

Returns

UnionToIntersection<ParamKeyToRecord<ParamKeys<P2>>>