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

Function isResult

packages/effect/src/unstable/workflow/Workflow.ts:471–473  ·  view source on GitHub ↗
(
  u: unknown
)

Source from the content-addressed store, hash-verified

469 * @since 4.0.0
470 */
471export const isResult = <A = unknown, E = unknown>(
472 u: unknown
473): u is Result<A, E> => Predicate.hasProperty(u, ResultTypeId)
474
475/**
476 * Result of a workflow execution, either a completed exit or a suspended

Callers 2

SchemaMethod · 0.70
wrapActivityResultFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected