Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
*/
759
export
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.ts
File · 0.85
Calls
1
hasProperty
Function · 0.90
Tested by
no test coverage detected