final class BooleanOps extends AnyVal
- Source
- boolean.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- BooleanOps
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- def !?[A](a: => A)(implicit M: Monoid[A]): A
- Annotations
- @inline()
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- def ??[A](a: => A)(implicit M: Monoid[A]): A
- Annotations
- @inline()
- def applyIf[A](a: A): ApplyIfPartiallyApplied[A]
- Annotations
- @inline()
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def either[L, R](l: => L, r: => R): Either[L, R]
- Annotations
- @inline()
- def eitherNel[L, R](ifFalse: => L, ifTrue: => R): EitherNel[L, R]
- Annotations
- @inline()
- def fold[A](t: => A, f: => A): A
- Annotations
- @inline()
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def liftTo[F[_]]: LiftToPartiallyApplied[F]
- Annotations
- @inline()
- def option[A](a: => A): Option[A]
- Annotations
- @inline()
- def toString(): String
- Definition Classes
- Any
- def unlessA[F[_], A](fa: F[A])(implicit F: Applicative[F]): F[Unit]
That method has the by-value parameter
F[A]
.That method has the by-value parameter
F[A]
. For by-name semantic on theF[A]
parameter use unlessAL.- Annotations
- @inline()
- def unlessAL[F[_], A](fa: => F[A])(implicit F: Applicative[F]): F[Unit]
The same as unlessA except for by-name parameter
F[A]
.The same as unlessA except for by-name parameter
F[A]
.- Annotations
- @inline()
- def validated[L, R](ifFalse: => L, ifTrue: => R): Validated[L, R]
- Annotations
- @inline()
- def validatedNec[L, R](ifFalse: => L, ifTrue: => R): ValidatedNec[L, R]
- Annotations
- @inline()
- def validatedNel[L, R](ifFalse: => L, ifTrue: => R): ValidatedNel[L, R]
- Annotations
- @inline()
- def valueOrPure[F[_], A](fa: => F[A])(a: => A)(implicit F: Applicative[F]): F[A]
- Annotations
- @inline()
- def valueOrZero[A](a: => A)(implicit M: Monoid[A]): A
- Annotations
- @inline()
- def whenA[F[_], A](fa: F[A])(implicit F: Applicative[F]): F[Unit]
That method has the by-value parameter
F[A]
.That method has the by-value parameter
F[A]
. For by-name semantic on theF[A]
parameter use whenAL.- Annotations
- @inline()
- def whenAL[F[_], A](fa: => F[A])(implicit F: Applicative[F]): F[Unit]
The same as whenA except for by-name parameter
F[A]
.The same as whenA except for by-name parameter
F[A]
.- Annotations
- @inline()
- def zeroOrValue[A](a: => A)(implicit M: Monoid[A]): A
- Annotations
- @inline()
Deprecated Value Members
- def xor[L, R](l: => L, r: => R): Either[L, R]
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 0.6) Use
either
instead