times

operator fun Int.times(block: () -> Unit): <Error class: unknown class>

Repeats the execution of a function a specified number of times.

Receiver

The number of times to repeat the function execution.

Parameters

block

The function to be repeated.