(query: string)
| 16 | * @returns True if the query looks like an '@' command, false otherwise. |
| 17 | */ |
| 18 | export const isAtCommand = (query: string): boolean => |
| 19 | // Check if starts with @ OR has a space, then @ |
| 20 | query.startsWith('@') || /\s@/.test(query); |
| 21 | |
| 22 | /** |
| 23 | * Checks if a query string potentially represents an '/' command. |
no outgoing calls
no test coverage detected