Cldr.Unit.known_units_by_category

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

known_units_by_category()

View Source (since 3.4.0)

Specs

known_units_by_category() :: %{
  required(category()) => [translatable_unit(), ...]
}

Returns the units that are defined for a given category (such as :volume, :length)

See also Cldr.Unit.known_unit_categories/0.

Example

=> Cldr.Unit.known_units_by_category
%{
  acceleration: [:g_force, :meter_per_square_second],
  angle: [:arc_minute, :arc_second, :degree, :radian, :revolution],
  area: [:acre, :dunam, :hectare, :square_centimeter, :square_foot,
   :square_inch, :square_kilometer, :square_meter, :square_mile, :square_yard],
  concentr: [:karat, :milligram_per_deciliter, :millimole_per_liter, :mole,
   :percent, :permille, :permillion, :permyriad], ...
 }