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

Function isContext

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

Source from the content-addressed store, hash-verified

650 * @since 2.0.0
651 */
652export const isContext = (u: unknown): u is Context<never> => hasProperty(u, TypeId)
653
654/**
655 * Checks whether the provided argument is a `Key`.

Callers 1

[Equal.symbol]Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected