NumberOfTimes

Syntactic sugar to execute an action a given number of times

Companion:
object
class Object
trait Matchable
class Any

Implicits

Implicits

implicit def timesFor(n: Int): Times

This implicit definition allows to declare a number of times 3.times

This implicit definition allows to declare a number of times 3.times