HH\ImmVector::toImmSet

Returns an immutable Set (ImmSet) with the values of the current ImmVector

public function toImmSet(): ImmSet<Tv>;

Returns

Examples

See [Vector::toImmSet](</hack/reference/class/Vector/toImmSet/#examples>) for usage examples.