isIRefundableSwap()
function isIRefundableSwap(obj): obj is IRefundableSwap<ChainType, SwapTypeDefinition<ChainType, ISwapWrapper<ChainType, any, ISwapWrapperOptions>, IRefundableSwap<ChainType, any, any>>, number>;
Defined in: atomiq-sdk/src/swaps/IRefundableSwap.ts:10
Type guard to check if an object is an IRefundableSwap
Parameters
| Parameter | Type |
|---|---|
obj | any |
Returns
obj is IRefundableSwap<ChainType, SwapTypeDefinition<ChainType, ISwapWrapper<ChainType, any, ISwapWrapperOptions>, IRefundableSwap<ChainType, any, any>>, number>