HH\Set::addAll

For every element in the provided Traversable, add the value into the current Set

public function addAll(
  ?Traversable<Tv> $iterable,
): Set<Tv>;

Future changes made to the original Set ARE reflected in the returned Set, and vice-versa.

Parameters

  • ?Traversable<Tv> $iterable

Return Values