HH\Set::toSet

Returns a deep copy of the current Set

public function toSet(): this<Tv>;

Return Values

  • this<Tv> - a Set that is a deep copy of the current Set.