Is my variable empty or nil, how will i check?
// // ViewController.swift // OptionalArrayDemo // // Created by Joynal Abedin on 23/2/23. // import UIKit class ViewController: UIViewController { let name: String? = nil override func viewDidLoad...
// // ViewController.swift // OptionalArrayDemo // // Created by Joynal Abedin on 23/2/23. // import UIKit class ViewController: UIViewController { let name: String? = nil override func viewDidLoad...
// // ViewController.swift // OptionalArrayDemo // // Created by Joynal Abedin on 23/2/23. // import UIKit class ViewController: UIViewController { let numberArray: [Int?] = [2, 4, nil, 6, nil, nil,...