# LibTmux.Options.lookupOption

- **Package:** libtmux-haskell
- **Language:** Haskell
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-haskell/blob/72edb54317bf619c6dc54bff311844f062f8984c/src/LibTmux/Options.hs#L96
- **Page:** https://libtmux.org/en/haskell/latest/reference/libtmux-options-v-lookupoption/

```haskell
lookupOption :: Capabilities -> Text -> Maybe OptionInfo
```

Signature types: [`Capabilities`](/en/haskell/latest/reference/libtmux-capabilities-t-capabilities/), [`Text`](https://hackage.haskell.org/package/text-2.1.3/docs/Data-Text.html#t:Text), [`Maybe`](https://hackage.haskell.org/package/base-4.22.0.0/docs/Data-Maybe.html#t:Maybe), [`OptionInfo`](/en/haskell/latest/reference/libtmux-options-t-optioninfo/).

Look up a canonical built-in option name in the selected catalogue.

## Referenced declarations

- [`LibTmux.Capabilities.Capabilities`](/en/haskell/latest/reference/libtmux-capabilities-t-capabilities/) (data type)
- [`LibTmux.Options.OptionInfo`](/en/haskell/latest/reference/libtmux-options-t-optioninfo/) (data type)

## Guides

Pages that discuss `lookupOption`.

- [Read and change options and hooks](/en/haskell/latest/guides/options/)
