The type of elements in the set.
The set to which values will be added.
The values to be added to the set.
The updated set with the new values added.
const mySet = new Set<number>();
setAddMany(mySet, [1, 2, 3]);
console.log(mySet); // Set { 1, 2, 3 }
Generated using TypeDoc
Adds multiple values to a given set.