MCPcopy Index your code
hub / github.com/Effect-TS/effect / isAcquire

Function isAcquire

packages/effect/test/Scope.test.ts:34–34  ·  view source on GitHub ↗
(self: Action)

Source from the content-addressed store, hash-verified

32const use = (id: number): Action => ({ op: OP_USE, id })
33const release = (id: number): Action => ({ op: OP_RELEASE, id })
34const isAcquire = (self: Action): self is Use => self.op === OP_ACQUIRE
35const isUse = (self: Action): self is Use => self.op === OP_USE
36const isRelease = (self: Action): self is Use => self.op === OP_RELEASE
37

Callers 1

Scope.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…