Product Type

Bool

A value that can be either true or false.

Members

Bindings

var value: ???

Functions

fun &&(_ rhs: Bool) -> Bool

Returns the logical conjunction of self and other.

fun ||(_ rhs: Bool) -> Bool

Returns the logical disjunction of self and other.

fun toggle() { inout }

Toggles the Boolean variable's value.

fun !() -> Bool

Returns negation of self.

Initializers

init()
init()

Creates an instance with value false.