UNPKG

textconvert

Version:

Public library to convert text into many conventions and formats.

9 lines (8 loc) 228 B
/** * Reverses all characters in a string. * @param text A string to reverse. * @returns Reversed string. * @example * reverse('Hello, world!'); // '!dlrow ,olleH' */ export declare function reverse(text: string): string;