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

Function isPrompt

packages/effect/src/unstable/cli/Prompt.ts:63–63  ·  view source on GitHub ↗
(u: unknown)

Source from the content-addressed store, hash-verified

61 * @since 4.0.0
62 */
63export const isPrompt = (u: unknown): u is Prompt<unknown> => Predicate.hasProperty(u, TypeId)
64
65/**
66 * Represents the services available to a custom `Prompt`.

Callers 1

allFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected