mirror of
https://github.com/OliveTin/OliveTin
synced 2025-12-18 20:15:38 +00:00
16 lines
445 B
JavaScript
16 lines
445 B
JavaScript
// NOTICE: This file is generated by Rollup. To modify it,
|
|
// please instead edit the ESM counterpart and rebuild with Rollup (npm run build).
|
|
'use strict';
|
|
|
|
/**
|
|
* Unite two or more sets
|
|
*
|
|
* @param {Iterable<string>[]} args
|
|
* @see {@link https://github.com/microsoft/TypeScript/issues/57228|GitHub}
|
|
*/
|
|
function uniteSets(...args) {
|
|
return new Set([...args].reduce((result, set) => [...result, ...set], []));
|
|
}
|
|
|
|
module.exports = uniteSets;
|