2021-09-25 102日目 Swift 日記 魚捌くの難しいね 今日書いたコード let hoge: Int? = nil switch hoge{ case .none: print("hoge is nil") case .some(let unwrapped): print(unwrapped) } // hoge is nil 感想 これ知らんかった. The type Optional is an enumeration with two cases, none and some(Wrapped),