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