Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/samber/mo
/ ExampleOption_IsAbsent_some
Function
ExampleOption_IsAbsent_some
option_example_test.go:93–99 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
91
}
92
93
func
ExampleOption_IsAbsent_some() {
94
some := Some(42)
95
result := some.IsAbsent()
96
97
fmt.Println(result)
98
// Output: false
99
}
100
101
func
ExampleOption_IsAbsent_none() {
102
none := None[int]()
Callers
nothing calls this directly
Calls
2
Some
Function · 0.85
IsAbsent
Method · 0.80
Tested by
no test coverage detected