kaven-basic - v6.0.0
    Preparing search index...

    Function RunTest

    • Executes the provided function a specified number of times.

      This function iterates a given number of times and invokes the provided function on each iteration. It's useful for performance testing or running repetitive tasks.

      Parameters

      • func: () => void

        The function to be executed. It should not accept any arguments and return void.

      • times: number

        The number of times the function should be executed. Must be a non-negative integer.

      Returns void

      1.0.5

      2025-07-07