MCPcopy Create free account
hub / github.com/Effect-TS/effect / isNone

Function isNone

packages/effect/src/internal/option.ts:85–85  ·  view source on GitHub ↗
(fa: Option.Option<A>)

Source from the content-addressed store, hash-verified

83
84/** @internal */
85export const isNone = <A>(fa: Option.Option<A>): fa is Option.None<A> => fa._tag === "None"
86
87/** @internal */
88export const isSome = <A>(fa: Option.Option<A>): fa is Option.Some<A> => fa._tag === "Some"

Callers 11

Option.tsFile · 0.85
productManyFunction · 0.85
allFunction · 0.85
toArrayFunction · 0.85
makeEquivalenceFunction · 0.85
containsWithFunction · 0.85
genFunction · 0.85
makeReducerFunction · 0.85
makeCombinerFailFastFunction · 0.85
makeReducerFailFastFunction · 0.85
[Equal.symbol]Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected