← ZIO Prelude docs

PartialOrdOps

zio.prelude.PartialOrdSyntax.PartialOrdOps
implicit class PartialOrdOps[A](val l: A)

Provides infix syntax for comparing two values with a total ordering.

Attributes

Source
PartialOrd.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def <[A1 >: A](r: A1)(implicit ord: PartialOrd[A1]): Boolean

Returns whether this value is less than the specified value.

Returns whether this value is less than the specified value.

Attributes

Source
PartialOrd.scala
def <=[A1 >: A](r: A1)(implicit ord: PartialOrd[A1]): Boolean

Returns whether this value is less than or equal to the specified value.

Returns whether this value is less than or equal to the specified value.

Attributes

Source
PartialOrd.scala
def =??=[A1 >: A](r: A1)(implicit ord: PartialOrd[A1]): PartialOrdering

Returns the result of comparing this value with the specified value.

Returns the result of comparing this value with the specified value.

Attributes

Source
PartialOrd.scala
def >[A1 >: A](r: A1)(implicit ord: PartialOrd[A1]): Boolean

Returns whether this value is greater than the specified value.

Returns whether this value is greater than the specified value.

Attributes

Source
PartialOrd.scala
def >=[A1 >: A](r: A1)(implicit ord: PartialOrd[A1]): Boolean

Returns whether this value is greater than or equal to the specified value.

Returns whether this value is greater than or equal to the specified value.

Attributes

Source
PartialOrd.scala

Concrete fields

val l: A

Attributes

Source
PartialOrd.scala