/** * Determines if the `Exit` result is interrupted. * * @tsplus getter effect/core/io/Exit isInterrupted */ export function isInterrupted(self: Exit): boolean { switch (self._tag) { case "Failure": return self.cause.isInterrupted case "Success": return false } }