Avatar
例えば let dictionary = [String: Int]() guard let value = dictionary["value"] as? Int else { assertFailure("needs value") return 0 } return value 的な