Append Array of Strings on Value
Install
Install all functions of strman
yarn add strmanor just the appendArray function
yarn add strman.appendarrayUsage
import { appendArray } from 'strman'
// OR
import appendArray from 'strman.appendarray'Parameters:
| Name | Type | Description |
|---|---|---|
value |
String | String initial |
append |
Array.<String> | Array with strings to append |
- Source:
Returns:
The concatenated string
- Type
- String
Example
appendArray('s', ['tr', 'm', 'an'])
// => 'strman'