isDecimalFixedPoint
Type guard that refines an unknown value to a DecimalFixedPoint.
Accepts the same partial-positional shape arguments as
assertIsDecimalFixedPoint and returns true if the assertion
would pass, false otherwise.
Type Parameters
| Type Parameter | Default type |
|---|---|
TSignedness extends Signedness | Signedness |
TTotalBits extends number | number |
TDecimals extends number | number |
Parameters
| Parameter | Type |
|---|---|
value | unknown |
signedness? | TSignedness |
totalBits? | TTotalBits |
decimals? | TDecimals |
Returns
value is DecimalFixedPoint<TSignedness, TTotalBits, TDecimals>