HH\Vector::toImmSet

Returns an immutable set (ImmSet) based on the values of the current Vector

public function toImmSet(): ImmSet<Tv>;

Return Values

  • ImmSet<Tv> - An ImmSet containing the unique values of the current Vector.