- Preparing search index...
- The search index is not available
atomic-fns
- sortedUniq<T>(arr: Iterable<T>, fn?: Iteratee<T, any, any>): T[]
-
Parameters
-
arr: Iterable<T>
-
Optional
fn: Iteratee<T, any, any>
Returns T[]
- sortedUniq<T>(arr: Iterable<T>, fn?: PropertyKey): T[]
-
Parameters
-
arr: Iterable<T>
-
Optional
fn: PropertyKey
Returns T[]
This method is like uniq except that it sorts the results in ascending order
Returns
Returns the new duplicate free array
Example
See
uniq