method HonoRequest.prototype.paramimport { HonoRequest } from "https://dotland.deno.dev/x/hono@v4.2.6/mod.ts"; param<P2 extends string = P>(key: RemoveQuestion<ParamKeys<P2>>): UndefinedIfHavingQuestion<ParamKeys<P2>>.req.param() gets the path parameters. param<P2 extends string = P>(): UnionToIntersection<ParamKeyToRecord<ParamKeys<P2>>>.req.param() gets the path parameters. ExamplesExample 1 const name = c.req.param('name') // or all parameters at once const { id, comment_id } = c.req.param() Type ParametersoptionalP2 extends string = PParameterskey: RemoveQuestion<ParamKeys<P2>>ReturnsUndefinedIfHavingQuestion<ParamKeys<P2>>Type ParametersoptionalP2 extends string = PReturnsUnionToIntersection<ParamKeyToRecord<ParamKeys<P2>>>