var myString:String? = nil if myString != nil { print(myString) } else { print("myString has nil value") }
We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy. Accept Learn more