Currently there are nonmutating withoutDuplicates() and mutating removeDuplicates() in extension Array. Let's add mutating versions of func withoutDuplicates<E: Equatable>(keyPath path: KeyPath<Element, E>) -> [Element] and func withoutDuplicates<E: Hashable>(keyPath path: KeyPath<Element, E>) -> [Element].
I can handle it :)
Thank's @RomanPodymov @iglushchuk :)
Most helpful comment
Thank's @RomanPodymov @iglushchuk :)