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

    Function repeatWith

    • Repeats a value infinitely using the given function.

      Type Parameters

      • T

        type of the item

      Parameters

      • f: (i: number) => T

        item to repeat

      Returns Iterable<T>