* Removes empty lines from the start and end.
()
| 1032 | * Removes empty lines from the start and end. |
| 1033 | */ |
| 1034 | trimLines(): this { |
| 1035 | return this.trim('[\\r\\n]') |
| 1036 | } |
| 1037 | |
| 1038 | /** |
| 1039 | * Trims content matching `charType` (defaults to `\s`, i.e. whitespace) from the start and end. |