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

    Function cycle

    • Cycles an iterable infinitely.

      In order to support iterables that can only be iterated over once, an internal copy of each item in the iterable is saved.

      Type Parameters

      • T

        type of the item

      Parameters

      Returns ReverseIterable<T>

    • Cycles an iterable infinitely.

      In order to support iterables that can only be iterated over once, an internal copy of each item in the iterable is saved.

      Type Parameters

      • T

        type of the item

      Parameters

      Returns Iterable<T>