source: frontend/node_modules/underscore/modules/union.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: 316 bytes
Line 
1import restArguments from './restArguments.js';
2import uniq from './uniq.js';
3import flatten from './_flatten.js';
4
5// Produce an array that contains the union: each distinct element from all of
6// the passed-in arrays.
7export default restArguments(function(arrays) {
8 return uniq(flatten(arrays, true, true));
9});
Note: See TracBrowser for help on using the repository browser.