@studiometa/js-toolkit
Version:
A set of useful little bits of JavaScript to boost your project! 🚀
10 lines (9 loc) • 386 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.
* @return {string}
* @link https://js-toolkit.studiometa.dev/utils/string/withLeadingCharacters.html
*/
export declare function withLeadingCharacters(string: string, characters: string): string;