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

Function isWrapper

packages/effect/src/unstable/rpc/Rpc.ts:1186–1186  ·  view source on GitHub ↗
(u: object)

Source from the content-addressed store, hash-verified

1184 * @since 4.0.0
1185 */
1186export const isWrapper = (u: object): u is Wrapper<any> => WrapperTypeId in u
1187
1188/**
1189 * Wraps a handler result with RPC server execution options.

Callers 3

wrapFunction · 0.85
unwrapFunction · 0.85
wrapMapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected