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

Function isOptions

packages/cli/src/internal/options.ts:163–164  ·  view source on GitHub ↗
(u: unknown)

Source from the content-addressed store, hash-verified

161
162/** @internal */
163export const isOptions = (u: unknown): u is Options.Options<unknown> =>
164 typeof u === "object" && u != null && OptionsTypeId in u
165
166/** @internal */
167export const isInstruction = <_>(self: Options.Options<_>): self is Instruction => self as any

Callers 1

allFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected