Conditionals
suggest changeIntroduction
Conditional expressions, using if, else if, and else, perform different actions depending on a Boolean condition: true or false. This section covers Swift conditionals, Boolean logic, and the ternary operator.
Remarks
For more information about conditional statements, see The Swift Programming Language.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents