Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/samber/mo
/ FlatMap
Method
FlatMap
typeclass/monadic.go:6–6 ·
view source on GitHub ↗
(func(T) Monadic[T])
Source
from the content-addressed store, hash-verified
4
ForEach(
func
(T))
5
Map(
func
(T) T) T
6
FlatMap(
func
(T) Monadic[T]) T
7
}
Callers
4
ExampleOption_FlatMap_some
Function · 0.65
ExampleOption_FlatMap_none
Function · 0.65
ExampleResult_FlatMap_ok
Function · 0.65
ExampleResult_FlatMap_err
Function · 0.65
Calls
no outgoing calls
Tested by
4
ExampleOption_FlatMap_some
Function · 0.52
ExampleOption_FlatMap_none
Function · 0.52
ExampleResult_FlatMap_ok
Function · 0.52
ExampleResult_FlatMap_err
Function · 0.52