Cldr.Unit.Format.grammar
You're seeing just the function
grammar, go back to Cldr.Unit.Format module for more information.
Specs
grammar(Cldr.Unit.t(), Keyword.t()) :: grammar_list() | {grammar_list(), grammar_list()}
Traverses the components of a unit and resolves a list of base units with their gramatical case and plural selector definitions for a given locale.
This function relies upon the internal
representation of units and grammatical features
and is primarily for the support of
formatting a function through Cldr.Unit.to_string/2.
Arguments
unitis at:Cldr.Unitor a binary unit string
Options
:localeis any valid locale name returned byCldr.known_locale_names/1or at:Cldr.LanguageTagstruct. The default isCldr.get_locale/0backendis any module that includesuse Cldrand therefore is aCldrbackend module. The default isCldr.default_backend!/0.