«Early Exit
A guard statement, like an if statement, executes statements depending on the Boolean value of an expression. You use a guard statement to require that a condition must be true in order for the code after the guard statement to be executed. Unlike an if statement, a guard statement always »
Отрывок из книги
The Swift Programming Language (Swift 5.5)
Apple Inc.
https://books.apple.com/ru/book/the-swift-programming-language-swift-5-5/id881256329Этот материал может быть защищен авторским правом.