
early exit and fewer brackets. Early exit means…out of the code block through a control transfer statement like return, break, continue, or thrown. It provides an early exit and fewer brackets. Early exit means faster execution.
Unlike if let statements, any variables or constants that were assigned values using an optional binding as part of the condition are available for the rest of the code block that the guard statement appears in.