Closed RomanPodymov closed 1 year ago
Hello. Thank you for promises. Found out that type(of: value) is NSError.Type is using in the project. Can we replace it with let error = value as? NSError? Or is it a workaround for old Swift versions?
type(of: value) is NSError.Type
let error = value as? NSError
Sorry, found this pull request.
Hello. Thank you for promises. Found out that
type(of: value) is NSError.Type
is using in the project. Can we replace it withlet error = value as? NSError
? Or is it a workaround for old Swift versions?