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

Function isPrompt

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

Source from the content-addressed store, hash-verified

1794 * @since 4.0.0
1795 */
1796export const isPrompt = (u: unknown): u is Prompt => Predicate.hasProperty(u, TypeId)
1797
1798/**
1799 * A Prompt contains a sequence of messages that form the context of a

Callers 1

Prompt.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected