MCPcopy Create free account
hub / github.com/anus-dev/ANUS / isSlashCommand

Function isSlashCommand

packages/cli/src/ui/utils/commandUtils.ts:29–29  ·  view source on GitHub ↗
(query: string)

Source from the content-addressed store, hash-verified

27 * @returns True if the query looks like an '/' command, false otherwise.
28 */
29export const isSlashCommand = (query: string): boolean => query.startsWith('/');
30
31// Copies a string snippet to the clipboard for different platforms
32export const copyToClipboard = async (text: string): Promise<void> => {

Callers 2

useCommandCompletionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected