Skip to content

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