Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/Effect-TS/effect
/ onNone
Function
onNone
packages/effect/test/Option.test.ts:275–275 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
273
274
it(
"match"
, () => {
275
const
onNone = () =>
"none"
276
const
onSome = (s: string) => `some${s.length}`
277
const
match = Option.match({ onNone, onSome })
278
strictEqual(match(Option.none()),
"none"
)
Callers
2
Option.ts
File · 0.85
either.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected