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
add!(Cldr.Unit.t(), Cldr.Unit.t()) :: Cldr.Unit.t() | no_return()
Adds two compatible %Unit{}
types
and raises on error
Options
unit_1
andunit_2
are compatible Units returned byCldr.Unit.new/2
Returns
A
%Unit{}
of the same type asunit_1
with a value that is the sum ofunit_1
and the potentially convertedunit_2
orRaises an exception