MCPcopy Index your code
hub / github.com/anomalyco/opencode / isInstanceOptions

Function isInstanceOptions

packages/opencode/test/lib/effect.ts:19–23  ·  view source on GitHub ↗
(
  options: InstanceOptions<E, R> | number | TestOptions | undefined,
)

Source from the content-addressed store, hash-verified

17}
18
19function isInstanceOptions<E, R>(
20 options: InstanceOptions<E, R> | number | TestOptions | undefined,
21): options is InstanceOptions<E, R> {
22 return !!options && typeof options === "object" && ("git" in options || "config" in options || "init" in options)
23}
24
25function instanceArgs<E, R>(
26 options?: InstanceOptions<E, R> | number | TestOptions,

Callers 1

instanceArgsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected