@studiometa/js-toolkit
Version:
A set of useful little bits of JavaScript to boost your project! 🚀
9 lines (8 loc) • 305 B
TypeScript
/**
* Remove the leading slash from a string.
*
* @param {string} string The string to modify.
* @return {string} The string without leading slash.
* @link https://js-toolkit.studiometa.dev/utils/string/withoutLeadingSlash.html
*/
export declare function withoutLeadingSlash(string: string): string;