Swift
-
Swift.Result is a Enumeration that represents the result of an operation. Here’s a sample code how to handle a
Result
See moreswitch result { case .success(let successObject): print("here you should handle the success case") case .failure(let failureObject): print("here you should handle the failure case") }
Declaration
Swift
extension Swift.Result