exactlyOne
The single match, or a failure naming which way the count was wrong. Single-pass: mirrors Selections.exactlyOne's early exit, stopping at the second match.
Source and package
- Qualified name
-
io.github .libtmux .scaladsl .query .Iterable Once. exactly 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. exactlyOne: Either[CardinalityError , 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.exactlyOne.
Guides
task materialPages that discuss exactlyOne.