Umi — API References - v1.3.0
Preparing search index...
umi
subtractAmounts
Function subtractAmounts
subtractAmounts
<
I
extends
string
,
D
extends
number
>
(
left
:
Amount
<
I
,
D
>
,
right
:
Amount
<
I
,
D
>
,
)
:
Amount
<
I
,
D
>
Subtracts 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...
Subtracts two amounts of the same type.