int
object int
Type members
Types
Less-or-equal comparison of two Int
singleton types.
scala
val lt1: 4 <= 2 = false
val lt2: 2 <= 2 = true
Greater-than comparison of two Int
singleton types.
scala
val gt1: 4 > 2 = true
val gt2: 2 > 2 = false
Greater-or-equal comparison of two Int
singleton types.
scala
val ge1: 4 >= 2 = true
val ge2: 2 >= 3 = false