Skip to content

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

Funzione: formatList() ​

formatList(locale, items, options?): string

Alpha

Un formattatore di elenchi legato alla localizzazione (ad es. "a, b, and c" in inglese, con congiunzioni corrette altrove).

Parametri ​

locale ​

string

items ​

readonly string[]

options? ​

ListFormatOptions

Restituisce ​

string