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

Function isNone

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

Source from the content-addressed store, hash-verified

65
66/** @internal */
67export const isNone = <A>(fa: Option.Option<A>): fa is Option.None<A> => fa._tag === "None"
68
69/** @internal */
70export const isSome = <A>(fa: Option.Option<A>): fa is Option.Some<A> => fa._tag === "Some"

Callers 8

[Equal.symbol]Function · 0.70
Option.tsFile · 0.50
productManyFunction · 0.50
allFunction · 0.50
toArrayFunction · 0.50
getEquivalenceFunction · 0.50
containsWithFunction · 0.50
genFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…