any

object any
Source:
any.scala
class Object
trait Matchable
class Any
any.type

Type members

Types

type !=[X, Y] <: Boolean

Inequality comparison of two singleton types.

Inequality comparison of two singleton types.

val eq1: 1 != 1 = false
val eq2: 1 != "1" = true
val eq3: "1" != "1" = false
Source:
any.scala
type ==[X, Y] <: Boolean

Equality comparison of two singleton types.

Equality comparison of two singleton types.

val eq1: 1 == 1 = true
val eq2: 1 == "1" = false
val eq3: "1" == "1" = true
Source:
any.scala