HH\ImmSet::toSet

Returns a Set built from the values of this ImmSet

public function toSet(): HH\object;

Returns

  • object

Examples

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