StructureFoundation5.9.0
ObjCBool
The Objective-C BOOL type.
@frozen struct ObjCBool
On 64-bit iOS, the Objective-C BOOL type is a typedef of C/C++ bool. Elsewhere, it is “signed char”. The Clang importer imports it as ObjCBool.
Citizens in Foundation
Conformances
protocol CustomReflectable
A type that explicitly supplies its own mirror.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol ExpressibleByBooleanLiteral
A type that can be initialized with the Boolean literals
true
andfalse
.protocol Sendable
A type whose values can safely be passed across concurrency domains by copying.
Members
init(Bool
) init(booleanLiteral: Bool
) Create an instance initialized to
value
.var boolValue: Bool
The value of
self
, expressed as aBool
.var customMirror: Mirror
Returns a mirror that reflects
self
.var description: String
A textual representation of
self
.