Umi — API References - v1.3.0
Preparing search index...
umi
addAmounts
Function addAmounts
addAmounts
<
I
extends
string
,
D
extends
number
>
(
left
:
Amount
<
I
,
D
>
,
right
:
Amount
<
I
,
D
>
,
)
:
Amount
<
I
,
D
>
Adds two amounts of the same type.
Type Parameters
I
extends
string
D
extends
number
Parameters
left
:
Amount
<
I
,
D
>
right
:
Amount
<
I
,
D
>
Returns
Amount
<
I
,
D
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Umi — API References - v1.3.0
Loading...
Adds two amounts of the same type.