isSwapAction method

bool isSwapAction()

Implementation

bool isSwapAction() {
  return maybeMap(
    orElse: () => false,
    swap: (value) => true,
  );
}