UNPKG

@n3okill/utils

Version:
8 lines (7 loc) 297 B
/** * Repeat a given string or buffer a number of times * @param str String or buffer that will be repeated * @param n Number of times to repeat the given string * @return The given string or buffer repeated n times */ export declare function repeat(str: string | Buffer, n: number): Buffer;