PartialOrdOps

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

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

Attributes

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

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

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

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

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

Concrete fields

val l: A