Back to Developer Roadmap

Either

src/data/roadmaps/scala/content/[email protected]

4.0685 B
Original Source

Either

The Either class in Scala is used to represent a value of one of two possible types (a disjoint union). An instance of Either is either an instance of scala.util.Left or scala.util.Right.

Visit the following resources to learn more: