Function reverse

  • Reverses the input iterator's order. Note that in order to reverse, it will attempt to iterate fully once, which could cause significant memory usage. So because of this, only use on finite iterators.

    Type Parameters

    • T

    Parameters

    Returns IterableIterator<T>