TestLensEitherOps

final implicit class TestLensEitherOps[E, A](self: TestLens[Either[E, A]]) extends AnyVal
class AnyVal
trait Matchable
class Any

Value members

Concrete methods

def left: TestLens[E]

Transforms an scala.Either to its scala.Left value E, otherwise fails if it is a scala.Right.

Transforms an scala.Either to its scala.Left value E, otherwise fails if it is a scala.Right.

def right: TestLens[A]

Transforms an scala.Either to its scala.Right value A, otherwise fails if it is a scala.Left.

Transforms an scala.Either to its scala.Right value A, otherwise fails if it is a scala.Left.