MyApp.Cldr.List.intersperse-exclamation-mark
You're seeing just the function
intersperse-exclamation-mark
, go back to MyApp.Cldr.List module for more information.
Specs
Formats a list using intersperse/2
but raises if there is
an error.
Examples
iex> MyApp.Cldr.List.intersperse!(["a", "b", "c"], locale: "en")
["a", ", ", "b", ", and ", "c"]
iex> MyApp.Cldr.List.intersperse!(["a", "b", "c"], locale: "en", format: :unit_narrow)
["a", " ", "b", " ", "c"]