Skip to main content

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

ParameterType
objany

Returns

obj is IRefundableSwap<ChainType, SwapTypeDefinition<ChainType, ISwapWrapper<ChainType, any, ISwapWrapperOptions>, IRefundableSwap<ChainType, any, any>>, number>