MCPcopy
hub / github.com/Effect-TS/effect / isPrompt

Function isPrompt

packages/cli/src/internal/prompt.ts:68–69  ·  view source on GitHub ↗
(u: unknown)

Source from the content-addressed store, hash-verified

66
67/** @internal */
68export const isPrompt = (u: unknown): u is Prompt.Prompt<unknown> =>
69 typeof u === "object" && u != null && PromptTypeId in u
70
71const allTupled = <const T extends ArrayLike<Prompt.Prompt<any>>>(arg: T): Prompt.Prompt<
72 {

Callers 1

allFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected