MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / looksLikeQuestion

Function looksLikeQuestion

graph-ui/src/chat/command-intent.ts:52–55  ·  view source on GitHub ↗
(line: string)

Source from the content-addressed store, hash-verified

50
51/** Whether the shape of the line marks it as a question on its own. */
52export function looksLikeQuestion(line: string): boolean {
53 const trimmed = line.trim();
54 return trimmed.endsWith('?') || trimmed.startsWith('@');
55}
56
57/** Decide what Enter does. Pure, and the only place that decides it. */
58export function commandIntent(state: CommandState): CommandIntent {

Callers 2

commandIntentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected