(g: Generator<string>)
| 122 | } |
| 123 | |
| 124 | function* trimStart(g: Generator<string>) { |
| 125 | let n; |
| 126 | do { |
| 127 | const { value, done } = g.next(); |
| 128 | if (done) return; |
| 129 | n = value.trimStart(); |
| 130 | } while (!n.length); |
| 131 | yield n; |
| 132 | yield* g; |
| 133 | } |
| 134 | |
| 135 | function* escapeMarkdownCharacters(s: string, characters: RegExp) { |
| 136 | yield s |
no outgoing calls
no test coverage detected
searching dependent graphs…