whits
    Preparing search index...

    Function loop

    • Loops over the given number of iterations and calls the given callback function for each iteration.

      Type Parameters

      Parameters

      • count: number

        The number of iterations.

      • callback: (index: number) => T

        The callback function.

      Returns T[]

      An array of the return values of the callback function.