MyApp.Cldr.quote

You're seeing just the function quote, go back to MyApp.Cldr module for more information.
Link to this function

quote(string, options \\ [])

View Source

Specs

quote(String.t(), Keyword.t()) :: String.t()

Add locale-specific quotation marks around a string.

Arguments

  • string is any valid Elixir string

  • options is a keyword list of options

Options

Examples

iex> MyApp.Cldr.quote "Quoted String"
"“Quoted String”"

iex> MyApp.Cldr.quote "Quoted String", locale: "ja"
"「Quoted String」"