source: frontend/node_modules/underscore/cjs/flatten.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 299 bytes
Line 
1var _flatten = require('./_flatten.js');
2
3// Flatten out an array, either recursively (by default), or up to `depth`.
4// Passing `true` or `false` as `depth` means `1` or `Infinity`, respectively.
5function flatten(array, depth) {
6 return _flatten(array, depth, false);
7}
8
9module.exports = flatten;
Note: See TracBrowser for help on using the repository browser.