BooleanLiteralConvertible

protocol BooleanLiteralConvertible

Conforming types can be initialized with the Boolean literals true and false.

Inheritance View Protocol Hierarchy →
Associated Types
BooleanLiteralType
Import import Swift

Initializers

init(booleanLiteral:) Required

Create an instance initialized to value.

Declaration

init(booleanLiteral value: Self.BooleanLiteralType)