- assertAmount<I, D>(amount: Amount<string, number>, identifier: I, decimals: D): asserts amount is Amount<I, D>
-
Type Parameters
-
I extends string
-
D extends number
Parameters
-
amount: Amount<string, number>
-
identifier: I
-
decimals: D
Returns asserts amount is Amount<I, D>
Ensures that a given amount has the provided identifier and decimals.