HH\Set::remove

Removes the specified value from the current Set

public function remove(
  Tv $val,
): Set<Tv>;

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

Parameters

  • Tv $val

Return Values