libtmux Reference MCP Search
On this page

tmuxq.Where

View as Markdown

Module
tmuxq
Package
github.com/libtmux/libtmux-go/tmux
Source
tmuxq/query.go
Where ( values : []T , predicate : func(*T) bool ) []T
function [source]
function [source]
Where

Where returns a fresh slice of shallow copies for values accepted by predicate, retaining their source order. It evaluates every input value, so a no-match result is an empty slice.

Discussed in Filtering and querying, in practice

0 declared, 0 inherited

Esc

Type to search.