Swift theorytheory 0/50 · 0%
Fundamentals · easy

13. Guard Statement

Early exit.

Guard ensures conditions are met, otherwise it exits the current scope.

Check your understanding

  1. 1. Required keyword in guard?

  2. 2. Variables defined in guard...?