TestLensEitherOps

zio.test.package$.TestLensEitherOps
final implicit class TestLensEitherOps[E, A](self: TestLens[Either[E, A]]) extends AnyVal

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Concise view

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.

Attributes

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.

Attributes