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

Function isOptions

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

Source from the content-addressed store, hash-verified

162
163/** @internal */
164export const isOptions = (u: unknown): u is Options.Options<unknown> =>
165 typeof u === "object" && u != null && OptionsTypeId in u
166
167/** @internal */
168export 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