12345678910111213141516171819202122232425262728293031 |
- import baseFlatten from './_baseFlatten.js';
- import map from './map.js';
- import toInteger from './toInteger.js';
- function flatMapDepth(collection, iteratee, depth) {
- depth = depth === undefined ? 1 : toInteger(depth);
- return baseFlatten(map(collection, iteratee), depth);
- }
- export default flatMapDepth;
|