Like
Install sorted-uniq-by as a package?
Copied
npm i @bit/lodash.lodash.sorted-uniq-by
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example modifieddraft
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
and packages in Bit or NPM to the example. any of the 1 million componentstoggle layout
No preview available
chevron_left
chevron_right
sortedUniqBy (
array:
Array
,iteratee:
) : Function
Array
This method is like uniqBy
except that it’s designed and optimized
for sorted arrays.
Example
Arguments
array:
Array
The array to inspect.
iteratee:
Function
The iteratee invoked per element.
Returns
Array
Returns the new duplicate free array.