Cldr.Message.bindings

You're seeing just the function bindings, go back to Cldr.Message module for more information.

Extract the binding names from a parsed message

Arguments

  • message is a CLDR message in binary or parsed form

Returns

  • A list of variable names or

  • {:error, {exception, reason}}

Examples

 iex> Cldr.Message.bindings "This {variable} is in the message"
 ["variable"]