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

Function asSome

packages/effect/src/internal/effect.ts:1402–1404  ·  view source on GitHub ↗
(
  self: Effect.Effect<A, E, R>
)

Source from the content-addressed store, hash-verified

1400
1401/** @internal */
1402export const asSome = <A, E, R>(
1403 self: Effect.Effect<A, E, R>
1404): Effect.Effect<Option.Option<A>, E, R> => map(self, Option.some)
1405
1406/** @internal */
1407export const flip = <A, E, R>(

Callers 1

effect.tsFile · 0.85

Calls 1

mapFunction · 0.85

Tested by

no test coverage detected