The guard keyword is used to prevent excessive nesting in functions. It acts like an early return for the function, wrapping the following lines in an if statement.
guard
guard ([condition]) [value];