mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 17:07:49 +00:00
Remove references to _.
This commit is contained in:
@@ -3,11 +3,10 @@ import map from './map.js';
|
||||
import toInteger from './toInteger.js';
|
||||
|
||||
/**
|
||||
* This method is like `_.flatMap` except that it recursively flattens the
|
||||
* This method is like `flatMap` except that it recursively flattens the
|
||||
* mapped results up to `depth` times.
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
* @since 4.7.0
|
||||
* @category Collection
|
||||
* @param {Array|Object} collection The collection to iterate over.
|
||||
@@ -20,7 +19,7 @@ import toInteger from './toInteger.js';
|
||||
* return [[[n, n]]];
|
||||
* }
|
||||
*
|
||||
* _.flatMapDepth([1, 2], duplicate, 2);
|
||||
* flatMapDepth([1, 2], duplicate, 2);
|
||||
* // => [[1, 1], [2, 2]]
|
||||
*/
|
||||
function flatMapDepth(collection, iteratee, depth) {
|
||||
|
||||
Reference in New Issue
Block a user