# LibTmux.Query.Link.active

- **Package:** libtmux-haskell
- **Language:** Haskell
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-haskell/blob/663e212622a02aa74a9bdc8ff71e2b45fcb1d4d5/src/LibTmux/Query/Link.hs#L29
- **Page:** https://libtmux.org/en/haskell/latest/reference/libtmux-query-link-v-active/

```haskell
active :: Field WindowLink Bool
```

Signature types: [`Field`](/en/haskell/latest/reference/libtmux-query-t-field/), [`WindowLink`](/en/haskell/latest/reference/libtmux-snapshot-t-windowlink/), [`Bool`](https://hackage.haskell.org/package/base-4.22.0.0/docs/Data-Bool.html#t:Bool).

Whether this link is selected in its session.

## Referenced declarations

- [`LibTmux.Query.Field`](/en/haskell/latest/reference/libtmux-query-t-field/) (data type)
- [`LibTmux.Snapshot.WindowLink`](/en/haskell/latest/reference/libtmux-snapshot-t-windowlink/) (data type)
