# Server.format(_:for:through:)

- **Module:** Server
- **Package:** libtmux-swift
- **Language:** Swift
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-swift/blob/f02a4668570e1cc5198c941413750e021f42c214/Sources/LibTmux/Formats.swift#L290
- **Page:** https://libtmux.org/reference/swift/server-format(_-for-through-)/

```
Server.format(_:for:through:)(template: String, for: Pane, through: WindowLink) -> String?
```

Evaluates a tmux format against a pane through one of its window links. See ``format(_:for:)-(String,Session)``.

## Raises

- `TmuxError`
