(value: string)
| 1667 | } |
| 1668 | |
| 1669 | const isDigits = (value: string): boolean => { |
| 1670 | if (value.length === 0) return false |
| 1671 | for (let index = 0; index < value.length; index++) { |
| 1672 | const code = value.charCodeAt(index) |
| 1673 | if (code < 48 || code > 57) return false |
| 1674 | } |
| 1675 | return true |
| 1676 | } |
| 1677 | |
| 1678 | /** |
| 1679 | * Tracks one query cycle while the connection routes backend messages to it. |