The purpose of the guard statement is to check the condition (or try to expand the optional one), and if this condition is false or the parameter is nil, then you want to leave the current area in which you are.
, ( ) " ... ".
, if let:
for user in users {
if let first = user["firstName"] as? String {
print(first)
} else {
print("first name has not been set")
}
}
, guard let guard guard, , if let .