shorthand if-let syntax
Here’s the code if you want to experiment with it!
var userName: String?
if let userName {
// `userName` is non-optional here
}
Here’s the code if you want to experiment with it!
var userName: String?
if let userName {
// `userName` is non-optional here
}