EitherExt

izumi.functional.IzEither.EitherExt
final class EitherExt(e: Either.type) extends AnyVal

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def ifThenElse[L, R](cond: Boolean)(ok: => R)(fail: => L): Either[L, R]
def ifThenFail[A](cond: Boolean)(fun: => A): Either[A, Unit]