Skip to content

pantoken-root / renderers/web-components/src / formatList

Funktion: formatList() ​

formatList(locale, items, options?): string

Alpha

Ein lokalisierungsgebundener Listen-Formatter (z. B. "a, b, and c" auf Englisch, mit korrekten Konjunktionen in anderen Sprachen).

Parameter ​

locale ​

string

items ​

readonly string[]

options? ​

ListFormatOptions

Rückgabe ​

string