string
Convert a string to n times.
Given a string return the string with the given number of times.
import { repeat } from 'radash' repeat('hello', 3) // => 'hellohellohello' repeat('hello', 0) // => '' repeat('hello', -1) // => ''