/** * Returns an iterable that yields `value` `times` times. `times` is infinite by default. * * @example * ```typescript * repeat("foo"); * // => Iterable yielding "foo", "foo", "foo", "foo"... * * repeat("hi", 3); * // => Iterable yielding "hi", "hi", "hi" * ``` */ export default function repeat(value: T, times?: number): Iterable;