_.flattenDeep(array)
Recursively flattens array.
Since
3.0.0
Arguments
-
array(Array): The array to flatten.
Returns
(Array): Returns the new flattened array.
Example
_.flattenDeep([1, [2, [3, [4]], 5]]); // => [1, 2, 3, 4, 5]
_.flattenDeep(array)
Recursively flattens array.
3.0.0
array (Array): The array to flatten.(Array): Returns the new flattened array.
_.flattenDeep([1, [2, [3, [4]], 5]]); // => [1, 2, 3, 4, 5]
Please login to continue.