HH\KeyedIterable::toImmMap

Returns an immutable map (ImmMap) based on the keys and values of the current KeyedIterable

public function toImmMap(): ImmMap<Tk, Tv>;

Return Values

  • ImmMap<Tk, Tv> - an ImmMap that has the keys and associated values of the current KeyedIterable.