# env

**Kind:** Function

**Source:** [`src/helper/adapter/index.ts`](https://github.com/honojs/hono/blob/main/src/helper/adapter/index.ts#L10)

**Part of:** [Helper](subsystem-src-helper)

## Signature

```ts
function env(c: T extends Record<string, unknown> ? Context : C, runtime: Runtime): T & C['env']
```

## Parameters

| Name | Type |
|---|---|
| `c` | `T extends Record<string, unknown> ? Context : C` |
| `runtime` | `Runtime` |

**Returns:** `T & C['env']`
