# server.Server.typed_global_option

- **Module:** server.Server
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/libtmux/src/server/settings.rs#L642
- **Page:** https://libtmux.org/en/rs/latest/reference/server-server-typed_global_option/

```
server.Server.typed_global_option(self, name: &str) -> Result<Option<OptionValue>, Error>
```

Read one global session option, decoded according to its declared kind.

Sessions inherit from this table. Absence and decoding work as in
[`Self::typed_option`].

# Errors

Returns an error when tmux does not recognize the option name.
