• Invokes the iteratee function n times, returning an array of the results of each invocation. The iteratee is invoked with one argument; (index).

    Type Parameters

    • TResult


    • n: number

      The number of times to invoke iteratee.

    • iteratee: ((num) => TResult)

      The function invoked per iteration.

        • (num): TResult
        • Parameters

          • num: number

          Returns TResult

    Returns TResult[]

    Returns the array of results.

  • Parameters

    • n: number

    Returns number[]



Generated using TypeDoc