(cmd: QueuedCommand)
| 539 | * as slash commands — their text is meant for the model. |
| 540 | */ |
| 541 | export function isSlashCommand(cmd: QueuedCommand): boolean { |
| 542 | return ( |
| 543 | typeof cmd.value === 'string' && |
| 544 | cmd.value.trim().startsWith('/') && |
| 545 | !cmd.skipSlashCommands |
| 546 | ) |
| 547 | } |
nothing calls this directly
no outgoing calls
no test coverage detected