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

Function isNone

packages/effect/src/internal/fiberId.ts:156–158  ·  view source on GitHub ↗
(self: FiberId.FiberId)

Source from the content-addressed store, hash-verified

154
155/** @internal */
156export const isNone = (self: FiberId.FiberId): self is FiberId.None => {
157 return self._tag === OP_NONE || pipe(toSet(self), HashSet.every((id) => isNone(id)))
158}
159
160/** @internal */
161export const isRuntime = (self: FiberId.FiberId): self is FiberId.Runtime => {

Callers 1

fiberId.tsFile · 0.70

Calls 2

pipeFunction · 0.70
toSetFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…