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

Function isCause

packages/effect/src/internal/core.ts:132–132  ·  view source on GitHub ↗
(self: unknown)

Source from the content-addressed store, hash-verified

130
131/** @internal */
132export const isCause = (self: unknown): self is Cause.Cause<unknown> => hasProperty(self, CauseTypeId)
133
134/** @internal */
135export const isCauseReason = (self: unknown): self is Cause.Reason<unknown> => hasProperty(self, CauseReasonTypeId)

Callers 3

effect.tsFile · 0.90
[Equal.symbol]Method · 0.85
core.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected