locale(_:)
Modifies the list format style to use the specified locale.
Declaration
func locale(_ locale: Locale) -> ListFormatStyle<Style, Base>Parameters
- locale:
The locale to use when formatting items in the list.
Return Value
A list format style with the provided locale.