MCPcopy Index your code
hub / github.com/Effect-TS/effect / isOption

Function isOption

packages/effect/src/internal/option.ts:64–64  ·  view source on GitHub ↗
(input: unknown)

Source from the content-addressed store, hash-verified

62
63/** @internal */
64export const isOption = (input: unknown): input is Option.Option<unknown> => hasProperty(input, TypeId)
65
66/** @internal */
67export const isNone = <A>(fa: Option.Option<A>): fa is Option.None<A> => fa._tag === "None"

Callers 2

Option.tsFile · 0.85
[Equal.symbol]Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected