HH\ImmVector::toSet

Returns a Set built from the values of this ImmVector

public function toSet(): Set;

Returns

  • object

Examples

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