We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0a3a6a commit 03e23ecCopy full SHA for 03e23ec
sortedUniq.js
@@ -1,8 +1,10 @@
1
import baseSortedUniq from './.internal/baseSortedUniq.js'
2
3
/**
4
- * This method is like `uniq` except that it's designed and optimized
+ * This method is like `uniq` except that it only works
5
* for sorted arrays.
6
+ * If the input array is known to be sorted `sortedUniq` is
7
+ * faster than `uniq`.
8
*
9
* @since 4.0.0
10
* @category Array
0 commit comments