MCPcopy
hub / github.com/Effect-TS/effect / isSome

Function isSome

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

Source from the content-addressed store, hash-verified

68
69/** @internal */
70export const isSome = <A>(fa: Option.Option<A>): fa is Option.Some<A> => fa._tag === "Some"
71
72/** @internal */
73export const none: Option.Option<never> = Object.create(NoneProto)

Callers 6

toRefinementFunction · 0.85
firstSomeOfFunction · 0.85
Option.tsFile · 0.85
productFunction · 0.85
getOrderFunction · 0.85
[Equal.symbol]Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…