Skip to main content

isSwapExecutionActionSendToAddress()

function isSwapExecutionActionSendToAddress<Lightning>(obj, lightning?): obj is SwapExecutionActionSendToAddress<Lightning>;

Defined in: atomiq-sdk/src/types/SwapExecutionAction.ts:72

Type guard for SwapExecutionActionSendToAddress

Type Parameters​

Type ParameterDefault type
Lightning extends booleanboolean

Parameters​

ParameterType
objany
lightning?Lightning

Returns​

obj is SwapExecutionActionSendToAddress<Lightning>