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

Function hasSameCache

packages/effect/src/Context.ts:616–619  ·  view source on GitHub ↗
(
  self: Context<Services>,
  that: Context<Services2>
)

Source from the content-addressed store, hash-verified

614
615/** @internal */
616export const hasSameCache = <Services, Services2>(
617 self: Context<Services>,
618 that: Context<Services2>
619): boolean => (self as ContextImpl<Services>).cacheRoot === (that as ContextImpl<Services2>).cacheRoot
620
621/**
622 * Checks whether the provided argument is a `Context`.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected