mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 18:17:48 +00:00
Fix _.sortedUniqBy doc example. [ci skip]
This commit is contained in:
committed by
John-David Dalton
parent
daeb55e99d
commit
29bc8d965b
@@ -6465,7 +6465,7 @@
|
|||||||
* @example
|
* @example
|
||||||
*
|
*
|
||||||
* _.sortedUniqBy([1.1, 1.2, 2.3, 2.4], Math.floor);
|
* _.sortedUniqBy([1.1, 1.2, 2.3, 2.4], Math.floor);
|
||||||
* // => [1.1, 2.2]
|
* // => [1.1, 2.3]
|
||||||
*/
|
*/
|
||||||
function sortedUniqBy(array, iteratee) {
|
function sortedUniqBy(array, iteratee) {
|
||||||
return (array && array.length)
|
return (array && array.length)
|
||||||
|
|||||||
Reference in New Issue
Block a user