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

Function isClosed

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

Source from the content-addressed store, hash-verified

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
29describe("Ref", () => {
30 it.effect("get returns the current value", () =>

Callers 1

Ref.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected