HH\ImmMap::toImmSet

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

public function toImmSet(): ImmSet<Tv>;

Returns

Examples

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