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