plotex v0.2.1 Plotex.Cldr.Number.PluralRule.Range

Implements plural rules for ranges

Link to this section Summary

Functions

Returns a final plural type for a start-of-range plural type, an end-of-range plural type and a locale.

Link to this section Functions

Returns a final plural type for a start-of-range plural type, an end-of-range plural type and a locale.

Arguments

  • first is a plural type for the start of a range

  • last is a plural type for the end of a range

  • locale is any Cldr.LanguageTag.t or a language name (not locale name)

Example

iex> Plotex.Cldr.Number.PluralRule.Range.plural_rule :other, :few, "ar"
:few