@studiometa/js-toolkit
Version:
A set of useful little bits of JavaScript to boost your project! 🚀
9 lines (8 loc) • 307 B
TypeScript
/**
* Add the given characters to the start of the given string.
*
* @param {string} string The string to modify.
* @param {string} characters The characters to add to the start.
* @returns {string}
*/
export declare function withLeadingCharacters(string: string, characters: string): string;