boolean

object boolean
class Object
trait Matchable
class Any

Type members

Types

type ![X <: Boolean] <: Boolean

Negation of a Boolean singleton type. scala val notFalse: ![false] = true val notTrue: ![true] = false

type &&[X <: Boolean, Y <: Boolean] <: Boolean

Conjunction of two Boolean singleton types. scala val a: true && true = true val b: false && true = false

type ^[X <: Boolean, Y <: Boolean] <: Boolean

Exclusive disjunction of two Boolean singleton types. scala val a: true true = false val b: false true = true

type ||[X <: Boolean, Y <: Boolean] <: Boolean

Disjunction of two Boolean singleton types. scala val a: true || false = true val b: false || false = false