function libtmux-scala latest
exactlyOne
Package io.github.libtmux.scaladsl.query.IterableOnce.exactlyOne
io.github.libtmux.scaladsl.query.IterableOnce 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
- Scala extension methods Adds methods callable on the receiver type without changing its definition. Language documentation [A](values: Iterable
Once [A]) Scala method declarations Declares a method, with its name, parameter lists and return type. Language documentation exactlyOne: Either[CardinalityError , A]