Sequence
protocol Sequence
-
Returns an array with unique elements preserving an order of elements.
Declaration
Swift
public func unique() -> [Iterator.Element]
Return Value
Unique elements.