libtmux Reference MCP Search
On this page

tmuxq.FirstSeq

View as Markdown

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

FirstSeq returns a shallow copy of the first source-ordered sequence value accepted by predicate and stops pulling later values. If no value matches, it returns the zero value of T and false. With an infinite input that never matches, FirstSeq does not return.

0 declared, 0 inherited

Esc

Type to search.