Hey, i am using ternary operator with optional variable. like below ex.
> *var number:Int?**let result = number > 0 ? 1 : 2 * *here i am getting this waring : comparison operators with optionals were removed from the Swift Standard Library. Consider refactoring the code to use the non-optional operators* Note : i must need to use ternary operator for checking. Regards Suresh Kansujiya
_______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
