5 lines
117 B
Swift
5 lines
117 B
Swift
if let certainlyInt = maybeInt {
|
|
print("variable has value \(certainlyInt)")
|
|
} else {
|
|
print("variable is nil")
|
|
}
|