Core LibraryalphaAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

function libtmux-cxx latest

is_pane_id

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.

Source and package
Qualified name
libtmux::is_pane_id
Namespace
libtmux
Package
libtmux-cxx
Source
include/libtmux/target.hpp
[[C++ nodiscard attributeAsks the compiler to warn when a result is discarded. An explicit cast to void acknowledges that the result is intentionally ignored.Language documentation]] constexpr bool is_pane_id(std::string_view value) noexcept;

Description#

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.

Parameters
Esc

Type to search.

Reference previewOpen reference