* Splits the iterator into two, and advances the new iterator to the line that matches the expression.
(expression: string | RegExp)
| 96 | * Splits the iterator into two, and advances the new iterator to the line that matches the expression. |
| 97 | */ |
| 98 | from(expression: string | RegExp) { |
| 99 | return this.tee().skipTo(expression); |
| 100 | } |
| 101 | |
| 102 | /** |
| 103 | * Stops the iterator at the point where we find the matching line. |
no test coverage detected