Skip to content

pantoken / 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