Avatar
let x: [String: Any] = ["a": 1, "b": Int?.none] let k = x["b"] switch k { case .some(let x): print("some") // here case .none: print("none") }
5:28 AM
問題ないかと