artdaq_node_server  v1_00_07
 All Classes Namespaces Files Variables Pages
flatMapDepth.js
1 var baseFlatten = require('./_baseFlatten'),
2  map = require('./map'),
3  toInteger = require('./toInteger');
4 
26 function flatMapDepth(collection, iteratee, depth) {
27  depth = depth === undefined ? 1 : toInteger(depth);
28  return baseFlatten(map(collection, iteratee), depth);
29 }
30 
31 module.exports = flatMapDepth;