5 lines
94 B
Swift
5 lines
94 B
Swift
if maybeInt == nil {
|
|
print("variable is nil")
|
|
} else {
|
|
print("variable has some value")
|
|
}
|