(value: unknown, label: string)
| 629 | } |
| 630 | |
| 631 | function positiveCount(value: unknown, label: string): number { |
| 632 | const count = requireCount(value, label); |
| 633 | if (count < 1) throw invalidProtocolFrame(`Invalid ${label}`); |
| 634 | return count; |
| 635 | } |
| 636 | |
| 637 | function controlSequence(value: unknown, label: string): number { |
| 638 | const sequence = positiveCount(value, label); |
no test coverage detected