---
title: "Branch by params Example"
description: "Extracted example from ctx.route"
---

# ctx.route

## Branch by params

```ts
if (ctx.route.params?.name === 'users') {
  // On user management page
}
```
