@spec primary(t()) :: non_neg_integer()
Get the primary weight of a collation element.
Arguments
element- a collation element tuple.
Returns
The primary weight as a non-negative integer.
Examples
iex> Cldr.Collation.Element.primary({0x23EC, 0x0020, 0x0008, false})
0x23EC