Skip to content

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

Functie: formatList() ​

formatList(locale, items, options?): string

Alpha

Een aan de locale gebonden lijstformatter (bijv. "a, b, and c" in het Engels, met correcte voegwoorden in andere talen).

Parameters ​

locale ​

string

items ​

readonly string[]

options? ​

ListFormatOptions

Retourneert ​

string