boolean
object boolean
- Source
- boolean.scala
Type members
Types
Negation of a Boolean
singleton type.
Negation of a Boolean
singleton type.
val notFalse: ![false] = true
val notTrue: ![true] = false
- Source
- boolean.scala
Conjunction of two Boolean
singleton types.
Conjunction of two Boolean
singleton types.
val a: true && true = true
val b: false && true = false
- Source
- boolean.scala
Exclusive disjunction of two Boolean
singleton types.
Exclusive disjunction of two Boolean
singleton types.
val a: true ^ true = false
val b: false ^ true = true
- Source
- boolean.scala
Disjunction of two Boolean
singleton types.
Disjunction of two Boolean
singleton types.
val a: true || false = true
val b: false || false = false
- Source
- boolean.scala