Core LibraryAPI Reference

Choose documentation 1

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

function libtmux-scala latest

atMostOne

Package io.github.libtmux.scaladsl.query.IterableOnce.atMostOne io.github.libtmux.scaladsl.query.IterableOnce

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

View as Markdown

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

Discussed in Queries

Esc

Type to search.