Avatar
@swift-5.9.2 let v = if Bool.random() { "World" } else { nil } print(type(of: v)) let v2 = Bool.random() ? "World" : nil print(type(of: v2))