Summary
Joins all elements in an array.
Description
Joins all elements of an array (or an array-like object) into a string and returns this string.
Route
No Northbound API Available
Roles
Parameters
DetailsExampleSchema
Name | Type | Required | Description |
---|---|---|---|
arr | array | yes | The array to perform a join on |
separator | string | no | The string to separate each pair of adjacent elements of the array |
Return
DetailsExampleSchema
Name | Type | Description |
---|---|---|
joinedElements | string | A string with all array elements joined. If arr.length is 0, the empty string is returned |