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 .Iterable Once. at Most One - 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. [A](values: IterableOnce [A])Scala method declarationsDeclares a method, with its name, parameter lists and return type. atMostOne: Either[CardinalityError , Option[A]] -
- Type parameters
Recorded calls
source callsThe 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 materialPages that discuss atMostOne.