MCPcopy Create free account
hub / github.com/Effect-TS/effect / exitHasFails

Function exitHasFails

packages/effect/src/internal/effect.ts:1914–1916  ·  view source on GitHub ↗
(
  self: Exit.Exit<A, E>
)

Source from the content-addressed store, hash-verified

1912
1913/** @internal */
1914export const exitHasFails = <A, E>(
1915 self: Exit.Exit<A, E>
1916): self is Exit.Failure<A, E> => self._tag === "Failure" && hasFails(self.cause)
1917
1918/** @internal */
1919export const exitVoid: Exit.Exit<void> = exitSucceed(void 0)

Callers

nothing calls this directly

Calls 1

hasFailsFunction · 0.85

Tested by

no test coverage detected