Cldr.Unit.Math.add-exclamation-mark

You're seeing just the function add-exclamation-mark, go back to Cldr.Unit.Math module for more information.

Specs

Adds two compatible %Unit{} types and raises on error

Options

Returns

  • A %Unit{} of the same type as unit_1 with a value that is the sum of unit_1 and the potentially converted unit_2 or

  • Raises an exception