Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Effect-TS/effect
/ succeedSome
Function
succeedSome
packages/effect/src/Micro.ts:939–939 ·
view source on GitHub ↗
(a: A)
Source
from the content-addressed store, hash-verified
937
* @category constructors
938
*/
939
export
const
succeedSome = <A>(a: A): Micro<Option.Option<A>> => succeed(Option.some(a))
940
941
/**
942
* Creates a `Micro` effect that succeeds with `None`.
Callers
nothing calls this directly
Calls
1
succeed
Function · 0.50
Tested by
no test coverage detected