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

Function isContext

packages/effect/src/Context.ts:759–759  ·  view source on GitHub ↗
(u: unknown)

Source from the content-addressed store, hash-verified

757 * @since 2.0.0
758 */
759export const isContext = (u: unknown): u is Context<never> => hasProperty(u, TypeId)
760
761/**
762 * Checks whether the provided argument is a `Key`.

Callers 2

[Equal.symbol]Function · 0.85
Context.tsFile · 0.85

Calls 1

hasPropertyFunction · 0.90

Tested by

no test coverage detected