Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ succeedSome
Function
succeedSome
packages/effect/src/internal/effect.ts:999–999 ·
view source on GitHub ↗
(a: A)
Source
from the content-addressed store, hash-verified
997
998
/** @internal */
999
export
const
succeedSome = <A>(a: A): Effect.Effect<Option.Option<A>> => succeed(Option.some(a))
1000
1001
/** @internal */
1002
export
const
succeedNone: Effect.Effect<Option.Option<never>> = succeed(
Callers
nothing calls this directly
Calls
2
some
Method · 0.80
succeed
Function · 0.70
Tested by
no test coverage detected