ZIOBooleanOps

zio.ZIO.ZIOBooleanOps
final implicit class ZIOBooleanOps[R, E](self: ZIO[R, E, Boolean]) extends AnyVal

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

final def &&[R1 <: R, E1 >: E](that: => ZIO[R1, E1, Boolean])(implicit trace: Trace): ZIO[R1, E1, Boolean]

Returns the logical conjunction of the Boolean value returned by this effect and the Boolean value returned by the specified effect. This operator has "short circuiting" behavior so if the value returned by this effect is false the specified effect will not be evaluated.

Returns the logical conjunction of the Boolean value returned by this effect and the Boolean value returned by the specified effect. This operator has "short circuiting" behavior so if the value returned by this effect is false the specified effect will not be evaluated.

Attributes

final def ||[R1 <: R, E1 >: E](that: => ZIO[R1, E1, Boolean])(implicit trace: Trace): ZIO[R1, E1, Boolean]

Returns the logical conjunction of the Boolean value returned by this effect and the Boolean value returned by the specified effect. This operator has "short circuiting" behavior so if the value returned by this effect is true the specified effect will not be evaluated.

Returns the logical conjunction of the Boolean value returned by this effect and the Boolean value returned by the specified effect. This operator has "short circuiting" behavior so if the value returned by this effect is true the specified effect will not be evaluated.

Attributes