Like
Install flat-map-deep as a package?
Copied
npm i @bit/lodash.lodash.flat-map-deep
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
flatMapDeep (
collection:
(Array | Object)
,iteratee:
) : Function
Array
This method is like flatMap
except that it recursively flattens the
mapped results.
Example
Arguments
collection:
(Array | Object)
The collection to iterate over.
iteratee:
Function
The function invoked per iteration.
Returns
Array
Returns the new flattened array.