MultiLoader-Template/node_modules/es-toolkit/dist/string/reverseString.d.ts
3944Realms 768f38fc97 feat: 可使用的构建模板
修改了脚本,使其可以推给Maven仓库
2026-05-03 13:02:19 +08:00

17 lines
567 B
TypeScript

/**
* Reverses a given string.
*
* This function takes a string as input and returns a new string that is the reverse of the input.
*
* @param {string} value - The string that is to be reversed.
* @returns {string} - The reversed string.
*
* @example
* const reversedStr1 = reverseString('hello') // returns 'olleh'
* const reversedStr2 = reverseString('PascalCase') // returns 'esaClacsaP'
* const reversedStr3 = reverseString('foo 😄 bar') // returns 'rab 😄 oof'
*/
declare function reverseString(value: string): string;
export { reverseString };