# getQueryParam

**Kind:** Constant

**Source:** [`src/utils/url.ts`](https://github.com/honojs/hono/blob/main/src/utils/url.ts#L302)

**Part of:** [Utils](subsystem-src-utils)

## Definition

```ts
( url: string, key?: string ) => string | undefined | Record<string, string>
```

## Value

```ts
_getQueryParam as (
  url: string,
  key?: string
) => string | undefined | Record<string, string>
```

## Used by

1 reference from 1 file. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

### Imported by (1)

- `HonoRequest` — `src/request.ts`:34
