Returns a reversed string.
Install
Install all functions of strman
yarn add strman
or just the reverse function
yarn add strman.reverse
Usage
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'