NumberOfTimes

Syntactic sugar to execute an action a given number of times

Companion:
object
class Object
trait Matchable
class Any

Extensions

Extensions

extension (n: Int)
def times(using not: NotGiven[NoNumberOfTimes]): 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