Returns a reversed string.
Install
Install all functions of strman
yarn add strmanor just the reverse function
yarn add strman.reverseUsage
import { reverse } from 'strman'
// OR
import reverse from 'strman.reverse'Parameters:
| Name | Type | Description |
|---|---|---|
value |
String | The String! |
- Source:
Returns:
The String reversed!
- Type
- String
Example
reverse('strman')
// => 'namrts'