Right

zio.schema.Fallback.Right
final case class Right[+A, +B](right: B) extends Fallback[A, B]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Fallback[A, B]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def fold[C](fa: A => C, fb: B => C): C

Attributes

Inherited from:
Fallback
def map[C](f: A => C): Fallback[C, B]

Attributes

Inherited from:
Fallback
def mapLeft[C](f: A => C): Fallback[C, B]

Attributes

Inherited from:
Fallback
def mapRight[C](f: B => C): Fallback[A, C]

Attributes

Inherited from:
Fallback

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
def simplify: Fallback[A, B]

Deletes the right part of Fallback.Both instances.

Deletes the right part of Fallback.Both instances.

Attributes

Inherited from:
Fallback
def swap: Fallback[B, A]

Attributes

Inherited from:
Fallback
def toEither: Either[A, B]

Tranform a Fallback into an Either, using the left value for Fallback.Both.

Tranform a Fallback into an Either, using the left value for Fallback.Both.

Attributes

Inherited from:
Fallback