implicit final class EitherOpsFor211[+A, +B] extends AnyVal
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- EitherOpsFor211
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new EitherOpsFor211(source: Either[A, B])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def flatMapRight[A1 >: A, B1](f: (B) => Either[A1, B1]): Either[A1, B1]
Binds the given function across
Right.Binds the given function across
Right.- f
The function to bind across
Right.
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def mapRight[B1](f: (B) => B1): Either[A, B1]
The given function is applied if this is a
Right.The given function is applied if this is a
Right.Right(12).map(x => "flower") // Result: Right("flower") Left(12).map(x => "flower") // Result: Left(12)
- val source: Either[A, B]
- def toString(): String
- Definition Classes
- Any