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