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

Function isResource

packages/effect/src/Resource.ts:62–64  ·  view source on GitHub ↗
(
  u: unknown
)

Source from the content-addressed store, hash-verified

60 * @since 4.0.0
61 */
62export const isResource: (u: unknown) => u is Resource<unknown, unknown> = (
63 u: unknown
64): u is Resource<unknown, unknown> => hasProperty(u, TypeId)
65
66const Proto = {
67 ...PipeInspectableProto,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected