scala / 3.1 / scala / runtime / richboolean.html

Class scala.runtime.RichBoolean

final class RichBoolean(val self: Boolean) extends AnyVal with OrderedProxy[Boolean]

Supertypes

Inherited methods

Source
def <(that: Boolean): Boolean

Returns true if this is less than that

Inherited from Ordered

Source
def <=(that: Boolean): Boolean

Returns true if this is less than or equal to that.

Inherited from Ordered

Source
def >(that: Boolean): Boolean

Returns true if this is greater than that.

Inherited from Ordered

Source
def >=(that: Boolean): Boolean

Returns true if this is greater than or equal to that.

Inherited from Ordered

Source
def compare(y: Boolean): Int

Inherited from OrderedProxy

Source
def compareTo(that: Boolean): Int

Result of comparing this with operand that.

Inherited from Ordered

Source
override def equals(that: Any): Boolean

Definition Classes Proxy -> Any
Inherited from Proxy

Source
override def hashCode: Int

Definition Classes Proxy -> Any
Inherited from Proxy

Source
override def toString: String

Definition Classes Proxy -> Any
Inherited from Proxy

Concrete fields

Source
val self: Boolean

© 2002-2022 EPFL, with contributions from Lightbend.
Licensed under the Apache License, Version 2.0.
https://scala-lang.org/api/3.1.1/scala/runtime/RichBoolean.html