Content-Length: 259583 | pFad | http://github.com/lodash/lodash/commit/03e23ecc196d541f0ae9b4f2490a24e0161b69bb

C1 clarify documentation about sortedUniq (#3310) · lodash/lodash@03e23ec · GitHub
Skip to content

Commit 03e23ec

Browse files
Nisse Bergmanjdalton
authored andcommitted
clarify documentation about sortedUniq (#3310)
clarify that sortedUniq only works on sorted arrays
1 parent a0a3a6a commit 03e23ec

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sortedUniq.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
import baseSortedUniq from './.internal/baseSortedUniq.js'
22

33
/**
4-
* This method is like `uniq` except that it's designed and optimized
4+
* This method is like `uniq` except that it only works
55
* for sorted arrays.
6+
* If the input array is known to be sorted `sortedUniq` is
7+
* faster than `uniq`.
68
*
79
* @since 4.0.0
810
* @category Array

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/lodash/lodash/commit/03e23ecc196d541f0ae9b4f2490a24e0161b69bb

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy