IT
IT Tools
Handy online tools for developers
Cheatsheets
Search tools
⌘K
EN
All quizzes
Swift
Core
Multiple choice
A.
Its `else` branch must exit the current scope (return, throw, break, or continue), and the unwrapped value stays in scope afterward.
B.
The unwrapped binding is only visible inside the `guard` body, like `if let`.
C.
`guard let` does not require an `else` clause.
D.
`guard let` runs its body when the optional is nil.
Submit
Open the cheat sheet
Previous
Next