MCPcopy Index your code
hub / github.com/Effect-TS/effect / isPrompt

Function isPrompt

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

Source from the content-addressed store, hash-verified

1307 * @category Guards
1308 */
1309export const isPrompt = (u: unknown): u is Prompt => Predicate.hasProperty(u, TypeId)
1310
1311/**
1312 * A Prompt contains a sequence of messages that form the context of a

Callers 1

PromptFromSelfClass · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected