Cldr.List.to_string-exclamation-mark

You're seeing just the function to_string-exclamation-mark, go back to Cldr.List module for more information.
Link to this function

to_string!(list, backend \\ default_backend(), options \\ [])

View Source

Specs

to_string!([term(), ...], Cldr.backend() | Keyword.t(), Keyword.t()) ::
  String.t() | no_return()

Formats a list using to_string/2 but raises if there is an error.

Examples

iex> Cldr.List.to_string!(["a", "b", "c"], MyApp.Cldr, locale: "en")
"a, b, and c"

iex> Cldr.List.to_string!(["a", "b", "c"], MyApp.Cldr, locale: "en", format: :unit_narrow)
"a b c"