boolean
extends Object with SerializableSupertypes
Object, SerializableMembers
type
!
= Nothing <: BooleanNegation of a Boolean
singleton type.
Negation of a Boolean
singleton type.
val notFalse: ![false] = true
val notTrue: ![true] = false
type
&&
= Nothing <: BooleanConjunction of two Boolean
singleton types.
Conjunction of two Boolean
singleton types.
val a: true && true = true
val b: false && true = false
type
^
= Nothing <: BooleanExclusive disjunction of two Boolean
singleton types.
Exclusive disjunction of two Boolean
singleton types.
val a: true ^ true = false
val b: false ^ true = true
type
||
= Nothing <: BooleanDisjunction of two Boolean
singleton types.
Disjunction of two Boolean
singleton types.
val a: true || false = true
val b: false || false = false