MCPcopy Create free account
hub / github.com/freecodexyz/free-code / isCommandInput

Function isCommandInput

src/utils/suggestions/commandSuggestions.ts:200–202  ·  view source on GitHub ↗
(input: string)

Source from the content-addressed store, hash-verified

198 * Checks if input is a command (starts with slash)
199 */
200export function isCommandInput(input: string): boolean {
201 return input.startsWith('/')
202}
203
204/**
205 * Checks if a command input has arguments

Callers 4

hasCommandArgsFunction · 0.85
useTypeaheadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected