HH\ImmMap::toImmSet
Returns an immutable set (ImmSet
) based on the values of the current
ImmMap
public function toImmSet(): ImmSet<Tv>;
Returns
ImmSet<Tv>
- anImmSet
with the current values of the currentImmMap
.
Examples
See [Map::toImmSet
](</hack/reference/class/Map/toImmSet/#examples>) for usage examples.