Initializer

init(_:)

Creates an instance equal to the given Boolean value.

Declaration

init(_ value: Bool)

Parameters

value

The Boolean value to copy.

See Also

Creating a Boolean From Another Value

init?(String)

Creates a new Boolean value from the given string.