import * as tsplus_module_1 from "@effect/core/io/Cause/operations/isInterrupted";
/**
 * Determines if the `Exit` result is interrupted.
 *
 * @tsplus getter ets/Exit isInterrupted
 */

export function isInterrupted(self) {
  switch (self._tag) {
    case "Failure":
      return tsplus_module_1.isInterrupted(self.cause);

    case "Success":
      return false;
  }
}
//# sourceMappingURL=isInterrupted.mjs.map