libtmux Reference MCP Search
On this page

tmuxq.First

View as Markdown

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

First returns a shallow copy of the first source-ordered value accepted by predicate and stops evaluating later values. If no value matches, it returns the zero value of T and false.

0 declared, 0 inherited

Esc

Type to search.