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

Function isKey

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

Source from the content-addressed store, hash-verified

665 * @since 4.0.0
666 */
667export const isKey = (u: unknown): u is Key<any, any> => hasProperty(u, ServiceTypeId)
668
669/**
670 * Checks whether the provided argument is a `Reference`.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected