Core LibraryunreleasedAPI Reference

Choose documentation 2

latest

Current version

latest
English

Unreleased libtmux has not been released. Its API may change during development. This site's structure and URLs may change too.

function libtmux-lisp latest

libtmux.query:one-or-none

Return the only item and T, or NIL,NIL when finite VALUES is empty. Signal AMBIGUOUS-MATCH for more than one item after validating the full bounded container. A singleton containing NIL returns NIL,T.

Source and package
Qualified name
libtmux.query:one-or-none
Declared in
libtmux.query
Package
libtmux/query
Source
src/query.lisp
(one-or-none values &key (max-items +default-max-selection-items+))

Public owner: libtmux.query

Parameters

Guides#

Pages that discuss one-or-none.

Esc

Type to search.

Reference previewOpen reference