# libtmux::is_pane_id

- **Module:** libtmux
- **Package:** libtmux-cxx
- **Language:** C++
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-cxx/blob/393d4b0ad666f18a6581f1eb281741a75a7503f0/include/libtmux/target.hpp#L38
- **Page:** https://libtmux.org/en/cxx/latest/reference/libtmux-is_pane_id/

```
libtmux::is_pane_id(value: std::string_view) -> bool
```

Whether a value is written as an id, which is what decides that it needs no separator validation below — not whether tmux would resolve it.

`x` is an id by this test and no pane by tmux's, and both are right: it carries no separator, so composing it can only produce the caller's own mistake back.
