(index)
| 325 | |
| 326 | function clearSearchClauseList() { |
| 327 | window.searchBoolTokens = []; |
| 328 | window.searchClauseList = []; |
| 329 | window.searchClauseOp = "AND"; |
| 330 | setSearchQueryAwaiting(false); |
| 331 | } |
| 332 | |
| 333 | function removeSearchTokenAt(index) { |
| 334 | initSearchClauseState(); |
| 335 | const n = window.searchBoolTokens.length; |
| 336 | if (index < 0 || index >= n) return; |
nothing calls this directly
no test coverage detected