HH\Set::removeAll

Removes the values in the current Set that are also in the Traversable

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

If a value in the Traversable doesn't exist in the current Set, that value in the Traversable is ignored.

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

Parameters

Return Values