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

Function isActive

packages/effect/test/Ref.test.ts:25–25  ·  view source on GitHub ↗
(self: State)

Source from the content-addressed store, hash-verified

23export const Closed: State = { _tag: "Closed" }
24
25const isActive = (self: State): boolean => self._tag === "Active"
26const isChanged = (self: State): boolean => self._tag === "Changed"
27const isClosed = (self: State): boolean => self._tag === "Closed"
28

Callers 1

Ref.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected