BooleanOps2

final
class BooleanOps2(self: Boolean)
class Object
trait Matchable
class Any

Type members

Classlikes

final
class Conditional[X]
final
sealed abstract
class GuardPrevent[M[_]]

Value members

Concrete methods

final
def ?[X](t: => X): Conditional[X]

Conditional operator that returns the first argument if this is true, the second argument otherwise.

Conditional operator that returns the first argument if this is true, the second argument otherwise.

final
def either[A](a: => A): ConditionalEither[A]

Returns the first argument in \/- if this is true, otherwise the second argument in -\/.

Returns the first argument in \/- if this is true, otherwise the second argument in -\/.

final
def guard[M[_]]: GuardPrevent[M]
final
def prevent[M[_]]: GuardPrevent[M]