Append Strings on Value with spreaded arguments
Install
Install all functions of strman
yarn add strmanor just the append function
yarn add strman.appendUsage
import { append } from 'strman'
// OR
import append from 'strman.append'Parameters:
| Name | Type | Description |
|---|---|---|
value |
String | Initial value |
appends |
String | Spreaded array with strings to append |
Returns:
The concatenated string
- Type
- String
Example
append('s', 'tr', 'm', 'an')
// => 'strman'