# selection.WhereOf

- **Module:** selection
- **Package:** libtmux
- **Language:** TypeScript
- **Kind:** typealias
- **Source:** https://github.com/libtmux/libtmux-ts/blob/46cccfef2a546de55ce8b308249b8c76339089a0/packages/libtmux/src/selection.ts#L399
- **Page:** https://libtmux.org/en/ts/latest/reference/selection-whereof/

```ts
type WhereOf<Model> = WhereForKind<ModelKindOf<Model>>
```

The criteria a selection of this handle type accepts.

Written in terms of the handle rather than the kind so a caller holding a
[`Selection`](/en/ts/latest/reference/selection-selection/)`<`[`Pane`](/en/ts/latest/reference/pane-pane/)`>` gets pane criteria without naming the kind twice.

## Type parameters

- `Model`
