# getQueryParams

**Kind:** Function

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

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

## Signature

```ts
function getQueryParams(url: string, key: string): string[] | undefined | Record<string, string[]>
```

## Parameters

| Name | Type |
|---|---|
| `url` | `string` |
| `key` | `string` |

**Returns:** `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
