libtmux Reference MCP Search
On this page

Sequence.exactlyOne(_:)

View as Markdown

Module
Sequence
Package
libtmux-swift
Source
Sources/LibTmux/FilterExpr.swift
exactlyOne(_:) ( expression : FilterExpr<Element> ) Self.Element
method [source]
method [source]
exactlyOne(_:)

The one element the filter matches.

Distinguishes "nothing matched" from "several matched", because a caller that meant to address one object needs to know which mistake it made.

0 declared, 0 inherited

Esc

Type to search.