Sequence
extension Sequence
-
Filter a Sequence by an unique keypath
Declaration
Swift
func uniqued<Type: Hashable>(by keyPath: KeyPath<Element, Type>) -> [Element]Parameters
keyPathThe keypath
Return Value
The unique Sequence
View on GitHub