Either

zio.schema.validation.Predicate.Either
final case class Either[L, R](left: Bool[Predicate[L]], right: Bool[Predicate[R]]) extends Predicate[Either[L, R]]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Predicate[Either[L, R]]
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited types

Attributes

Inherited from:
Predicate

Attributes

Inherited from:
Predicate

Value members

Concrete methods

def validate(value: Either[L, R]): Result

Inherited methods

def contramap[B](f: B => Either[L, R]): Predicate[B]

Attributes

Inherited from:
Predicate

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product