Avatar
Avatar
Iceman
@swift-5.5.3 func f() { let v = nanika if v.isEmpty { print("nanika is empty") } else { print(v) } } f() let nanika: String = { print("nanika is initialized!") return "nanika" }()
nanika is empty nanika is initialized!