Skip to content

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

Funkcja: formatList() ​

formatList(locale, items, options?): string

Alpha

Formatownik list zależny od lokalizacji (np. "a, b, and c" w języku angielskim, z poprawnymi spójnikami w innych językach).

Parametry ​

locale ​

string

items ​

readonly string[]

options? ​

ListFormatOptions

Zwraca ​

string