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

Function isSome

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

Source from the content-addressed store, hash-verified

86
87/** @internal */
88export const isSome = <A>(fa: Option.Option<A>): fa is Option.Some<A> => fa._tag === "Some"
89
90/** @internal */
91export const none: Option.Option<never> = Object.create(NoneProto)

Callers 6

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

Calls

no outgoing calls

Tested by

no test coverage detected