mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02:00
9ead8781d4
Co-authored-by: Alex Martini <amartini@apple.com> Co-authored-by: Graham Lee <glee23@apple.com> Co-authored-by: Chris Adamson <cadamson@apple.com> Co-authored-by: Kirby Turner <kirby_turner@apple.com> Co-authored-by: Paris Pinkney <ppinkney@apple.com> Co-authored-by: Dave Spector <dspector@apple.com> Co-authored-by: Sofia Rodriguez Morales <sofia_rodriguez@apple.com> Co-authored-by: Ethan Kusters <ekusters@apple.com> Co-authored-by: Goli Mohammadi <g_mohammadi@apple.com> Co-authored-by: Adora Vaz <a_vaz@apple.com> Co-authored-by: David Rönnqvist <ronnqvist@apple.com> Co-authored-by: Nate Merseth Cook <natecook@apple.com> Co-authored-by: Susan Conant <susan_c@apple.com>
52 lines
903 B
Markdown
52 lines
903 B
Markdown
# ``Swift/Bool``
|
|
|
|
## Topics
|
|
|
|
### Comparing Boolean Values
|
|
|
|
- ``Swift/Bool/==(_:_:)``
|
|
- ``Swift/Bool/!=(_:_:)``
|
|
|
|
### Transforming a Boolean
|
|
|
|
- ``Swift/Bool/toggle()``
|
|
- ``Swift/Bool/!(_:)``
|
|
- ``Swift/Bool/||(_:_:)``
|
|
- ``Swift/Bool/&&(_:_:)``
|
|
|
|
### Creating a Random Value
|
|
|
|
- ``Swift/Bool/random()``
|
|
- ``Swift/Bool/random(using:)``
|
|
|
|
### Describing a Boolean
|
|
|
|
- ``Swift/Bool/description``
|
|
|
|
### Inspecting a Boolean
|
|
|
|
- ``Swift/Bool/customMirror``
|
|
- ``Swift/Bool/customPlaygroundQuickLook``
|
|
- ``Swift/Bool/hash(into:)``
|
|
|
|
### Creating a Boolean From Another Value
|
|
|
|
- ``Swift/Bool/init(_:)-25sp9``
|
|
- ``Swift/Bool/init(_:)-83vgw``
|
|
- ``Swift/Bool/init(fromCxx:)``
|
|
|
|
### Encoding and Decoding
|
|
|
|
- ``Swift/Bool/init(from:)-99p2s``
|
|
- ``Swift/Bool/encode(to:)``
|
|
|
|
### Infrequently Used Intializers
|
|
|
|
- ``Swift/Bool/init()``
|
|
- ``Swift/Bool/init(booleanLiteral:)``
|
|
|
|
### Boolean Literals
|
|
|
|
- ``Swift/true``
|
|
- ``Swift/false``
|