# io.github.libtmux.Layouts.Layouts.require

- **Module:** io.github.libtmux.Layouts.Layouts
- **Package:** io.github.libtmux:libtmux
- **Language:** Java
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-java/blob/c3517519ee799428a809ce6deb1708c8be289cd1/libtmux/src/main/java/io/github/libtmux/Layouts.java#L35
- **Page:** https://libtmux.org/reference/java/io-github-libtmux-layouts-layouts-require/

```
io.github.libtmux.Layouts.Layouts.require(layout: String) -> String
```

Returns the layout unchanged, having checked tmux will recognise it.

## Raises

- `IllegalArgumentException` — if tmux would not recognise the name, which on some versions is not a recoverable error
