On this pageHome > @rushstack/node-core-library > Text > reverseText.reverse() methodReturns a new string that is the input string with the order of characters reversed.Signature:static reverse(s: string): string;ParametersParameterTypeDescriptionsstringReturns:string