scala.util.Either.cond
cond[A, B](test: Boolean, right: => B, left: => A): Either[A, B]
- Kind
- def
- Module
scala.util.Either
Source: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.
The entries of scala.util.Either in the Scala reference. This page has 25 cards.
cond[A, B](test: Boolean, right: => B, left: => A): Either[A, B]
scala.util.EitherSource: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.
contains[B1 >: B](elem: B1): Boolean
scala.util.EitherSource: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.
exists(p: B => Boolean): Boolean
scala.util.EitherSource: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.
filterOrElse[A1 >: A](p: B => Boolean, zero: => A1): Either[A1, B]
scala.util.EitherSource: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.
flatMap[A1 >: A, B1](f: B => Either[A1, B1]): Either[A1, B1]
scala.util.EitherSource: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.
flatten[A1 >: A, B1](implicit ev: B <:< Either[A1, B1]): Either[A1, B1]
scala.util.EitherSource: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.
fold[C](fa: A => C, fb: B => C): C
scala.util.EitherSource: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.
forall(f: B => Boolean): Boolean
scala.util.EitherSource: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.
foreach[U](f: B => U): Unit
scala.util.EitherSource: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.
getOrElse[B1 >: B](or: => B1): B1
scala.util.EitherSource: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.
isLeft: Boolean
scala.util.EitherSource: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.
isRight: Boolean
scala.util.EitherSource: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.
joinLeft[A1 >: A, B1 >: B, C](implicit ev: A1 <:< Either[C, B1]): Either[C, B1]
scala.util.EitherSource: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.
joinRight[A1 >: A, B1 >: B, C](implicit ev: B1 <:< Either[A1, C]): Either[A1, C]
scala.util.EitherSource: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.
left: LeftProjection[A, B]
scala.util.EitherSource: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.
scala.util.EitherSource: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.
map[B1](f: B => B1): Either[A, B1]
scala.util.EitherSource: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.
MergeableEither[A](x: Either[A, A]): MergeableEither[A]
scala.util.EitherSource: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.
orElse[A1 >: A, B1 >: B](or: => Either[A1, B1]): Either[A1, B1]
scala.util.EitherSource: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.
right: RightProjection[A, B]
scala.util.EitherSource: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.
scala.util.EitherSource: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.
swap: Either[B, A]
scala.util.EitherSource: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.
toOption: Option[B]
scala.util.EitherSource: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.
toSeq: Seq[B]
scala.util.EitherSource: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.
toTry(implicit ev: A <:< Throwable): Try[B]
scala.util.EitherSource: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.