I have an array of enum which I need to delete one of the Enum. I have written generic remove operation based on here. We usually conform Equatable to Struct. So I am curious how Equatable will behave in Enum. If It is not a right way to write generic remove operation for collection of Enum array, then what will be the right one?
enum APIEndPoints: Equatable {
case image
case email
case others
}