# threadMatchesBucket

**Kind:** Function

**Source:** [`atloria-monorepo/apps/web/src/app/app/desk/components/deskTypes.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/apps/web/src/app/app/desk/components/deskTypes.ts#L162)

Does this thread still belong in the given bucket after a local mutation?

## Signature

```ts
function threadMatchesBucket(bucket: BucketKey, t: DeskThread): boolean
```

## Parameters

| Name | Type |
|---|---|
| `bucket` | `BucketKey` |
| `t` | `DeskThread` |

**Returns:** `boolean`
