Overview
The reverse() function returns a string with the order of characters reversed from the given string.
Syntax
reverse(str)
| Argument | Type | Description  | 
|---|---|---|
str | 
String | The string whose characetrs need to be reversed | 
Return type: String
Example of Result
return reverse("abc")
Result: cba
Example of Use
Retrieve API keys but reverse their characters for security concerns.
find().nodes({@api}) as apis
return reverse(apis.key)