Returns the n
th item of an iteror
after advancing the
iteror n
steps ahead. If the iteror
is entirely consumed,
the argument or
is returned instead. That is, if either n >
length(iteror)
or n
is 0, then the iteror
is consumed.
Arguments
- obj
an iterable.
- n
The index of the desired element to return.
- or
If the iteror finishes before retuning
n
elements, this argument will be forced and returned.- ...
passed along to iteror constructor.