iter-fns - v0.13.0
    Preparing search index...

    Class PeekableIterator<T>

    An iterator that can have its next item be peeked at without being advanced.

    Type Parameters

    • T

      type of the item

    Hierarchy

    • IteratorBase
      • PeekableIterator
    Index

    Constructors

    Methods

    Constructors

    Methods

    • Advances the iterator, returning the current item.

      Returns IteratorResult<T, undefined>

    • Peeks at the next item.

      Returns IteratorResult<T, undefined>