Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
*/
1796
export
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.ts
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected