append

Append Strings on Value with spreaded arguments

Install

Install all functions of strman

yarn add strman

or just the append function

yarn add strman.append

Usage

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

Source:
Returns:

The concatenated string

Type
String
Example
append('s', 'tr', 'm', 'an')
// => 'strman'