Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ succeedSome
Function
succeedSome
packages/effect/src/Micro.ts:940–940 ·
view source on GitHub ↗
(a: A)
Source
from the content-addressed store, hash-verified
938
* @category constructors
939
*/
940
export
const
succeedSome = <A>(a: A): Micro<Option.Option<A>> => succeed(Option.some(a))
941
942
/**
943
* 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