mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 00:57:48 +00:00
Add related function for each module. [closes #2932]
This commit is contained in:
committed by
John-David Dalton
parent
b856263af6
commit
401016d260
@@ -7,6 +7,7 @@ import baseFlatten from './.internal/baseFlatten.js';
|
||||
* @category Array
|
||||
* @param {Array} array The array to flatten.
|
||||
* @returns {Array} Returns the new flattened array.
|
||||
* @see flatMap, flatMapDeep, flatMapDepth, flattenDeep, flattenDepth
|
||||
* @example
|
||||
*
|
||||
* flatten([1, [2, [3, [4]], 5]]);
|
||||
|
||||
Reference in New Issue
Block a user