project bootstrap

This commit is contained in:
2023-11-25 18:12:47 -05:00
parent 5cd875ae80
commit 6ef22d88f9
39139 changed files with 4944609 additions and 2 deletions
+11
View File
@@ -0,0 +1,11 @@
var _flatten = require('./_flatten.js');
var restArguments = require('./restArguments.js');
var uniq = require('./uniq.js');
// Produce an array that contains the union: each distinct element from all of
// the passed-in arrays.
var union = restArguments(function(arrays) {
return uniq(_flatten(arrays, true, true));
});
module.exports = union;