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