(char: string)
| 1187 | * or `"\n"`). |
| 1188 | */ |
| 1189 | const isLineBreak = (char: string): boolean => { |
| 1190 | const code = char.charCodeAt(0) |
| 1191 | return code === CR || code === LF |
| 1192 | } |
| 1193 | |
| 1194 | /** |
| 1195 | * Checks whether the provided characters combine to form a carriage return/line-feed |