Umi — API References - v1.3.0
Preparing search index...
umi
assertAmount
Function assertAmount
assertAmount
<
I
extends
string
,
D
extends
number
>
(
amount
:
Amount
,
identifier
:
I
,
decimals
:
D
,
)
:
asserts
amount
is
Amount
<
I
,
D
>
Ensures that a given amount has the provided identifier and decimals.
Type Parameters
I
extends
string
D
extends
number
Parameters
amount
:
Amount
identifier
:
I
decimals
:
D
Returns
asserts
amount
is
Amount
<
I
,
D
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Umi — API References - v1.3.0
Loading...
Ensures that a given amount has the provided identifier and decimals.