Core LibraryunreleasedAPI Reference

Choose documentation 1

latest

Current version

latest
English

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

function libtmux-clojure latest

libtmux.data/one-or-none

Returns the only value, nil for none, or throws for multiple values.

Source and package
Qualified name
libtmux.data/one-or-none
Module
libtmux.data
Declared in
libtmux.data
Package
io.github.libtmux:libtmux-clojure
Source
libtmux-clojure/src/main/clojure/libtmux/data.clj

Public owner: libtmux.data

Description#

Stops requesting matches once ambiguity is known. Finding zero or one may scan all input; chunked producers may realize more. nil and false are values. Use exactly-one when zero matches must also fail.

Parameters
Esc

Type to search.

Reference previewOpen reference