Core Library0.xAPI reference

Choose documentation 1

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

function libtmux-scala

atMostOne

The single match if there is one, None if there is none — still a failure for several.

Source and package
Qualified name
io.github.libtmux.scaladsl.query.IterableOnce.atMostOne
Package
io.github.libtmux.scaladsl.query.IterableOnce
Distribution
io.github.libtmux:libtmux-scala_3
Source
libtmux-scala/src/main/scala/io/github/libtmux/scaladsl/query/CardinalityError.scala
Scala extension methodsAdds methods callable on the receiver type without changing its definition.Language documentation [A](values: IterableOnce[A]) Scala method declarationsDeclares a method, with its name, parameter lists and return type.Language documentation atMostOne: Either[CardinalityError, Option[A]]
Type parameters

Recorded calls

source calls
No call edges in the Scala model.

The Scala reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls io.github.libtmux.scaladsl.query.IterableOnce.atMostOne.

Guides

task material

Pages that discuss atMostOne.

Esc
Search in

Type to search.

Reference previewOpen reference