boolean
scala.compiletime.ops.boolean$
object boolean
Members list
Type members
Types
Negation of a Boolean
singleton type.
Negation of a Boolean
singleton type.
import compiletime.ops.boolean._
val notFalse: ![false] = true
val notTrue: ![true] = false
Attributes
Conjunction of two Boolean
singleton types.
Conjunction of two Boolean
singleton types.
import compiletime.ops.boolean._
val a: true && true = true
val b: false && true = false
Attributes
Exclusive disjunction of two Boolean
singleton types.
Exclusive disjunction of two Boolean
singleton types.
import compiletime.ops.boolean._
val a: true ^ true = false
val b: false ^ true = true
Attributes
In this article