any

object any
class Object
trait Matchable
class Any

Type members

Types

type !=[X, Y] <: Boolean

Inequality comparison of two singleton types. scala val eq1: 1 != 1 = false val eq2: 1 != "1" = true val eq3: "1" != "1" = false

type ==[X, Y] <: Boolean

Equality comparison of two singleton types. scala val eq1: 1 == 1 = true val eq2: 1 == "1" = false val eq3: "1" == "1" = true