MCPcopy Index your code
hub / github.com/Effect-TS/effect / isLayer

Function isLayer

packages/effect/src/internal/layer.ts:182–182  ·  view source on GitHub ↗
(u: unknown)

Source from the content-addressed store, hash-verified

180
181/** @internal */
182export const isLayer = (u: unknown): u is Layer.Layer<unknown, unknown, unknown> => hasProperty(u, LayerTypeId)
183
184/** @internal */
185export const isFresh = <RIn, E, ROut>(self: Layer.Layer<ROut, E, RIn>): boolean => {

Callers 1

layer.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected