Summary
Converts an array to a locale string.
Description
Returns a string representing the elements of the array.
Route
POST /array/toLocaleString
Roles
admin
Parameters
DetailsExampleSchema
| Name | Type | Required | Description |
|---|---|---|---|
| arr | array | yes | The array to convert |
| locales | array | yes | A string with a BCP 47 language tag, or an array of such strings |
| options | object | yes | An object with configuration properties, for numbers see Number.prototype.toLocaleString(), and for dates see Date.prototype.toLocaleString() |
Return
DetailsExampleSchema
| Name | Type | Description |
|---|---|---|
| elementString | string | A string representing the elements of the array |