1 2
The [`Repeat`](/pkg/slices#Repeat) function returns a new slice that repeats the provided slice the given number of times.