src/precore/util/Iterables.php
public static function get(IteratorAggregate $iterable, int $position)
    {
        return Iterators::get(Iterators::from($iterable->getIterator()), $position);
    }
public static function get(IteratorAggregate $iterable, int $position)
    {
        return Iterators::get(Iterators::from($iterable->getIterator()), $position);
    }
Returns the element at the specified position in an iterable.

@param IteratorAggregate $iterable
@param $position
@return mixed
@throws \OutOfBoundsException if position does not exist